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
@@ -45,7 +45,7 @@ void setSelectedUsbMode(int mode);
void usbSerialPutc(uint8_t c);
// Used in view_statistics.cpp
#if defined(USB_SERIAL)
#if defined(DEBUG) && !defined(BOOT)
extern uint16_t usbWraps;
extern uint16_t charsWritten;
extern volatile uint32_t APP_Rx_ptr_in;