USB modes cleanup (#5396)

* USB modes cleanup

* Forgot a couple

* Exclude joystick code from bootloader
This commit is contained in:
Andre Bernet
2017-11-22 10:41:19 +01:00
committed by Bertrand Songis
parent f2cf444a64
commit 8662de39f5
10 changed files with 14 additions and 20 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ void menuStatisticsDebug(event_t event)
lcdDrawNumber(MENU_DEBUG_COL1_OFS, MENU_DEBUG_ROW1, DURATION_MS_PREC2(maxMixerDuration), PREC2|LEFT);
lcdDrawText(lcdLastRightPos, MENU_DEBUG_ROW1, "ms");
#if !defined(SIMU) && defined(USB_SERIAL)
#if !defined(SIMU) && defined(DEBUG)
lcdDrawTextAlignedLeft(MENU_DEBUG_ROW4, "Usb");
lcdDrawNumber(MENU_DEBUG_COL1_OFS, MENU_DEBUG_ROW4, charsWritten, LEFT);
lcdDrawText(lcdLastRightPos, MENU_DEBUG_ROW4, " ");