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 -5
View File
@@ -1989,7 +1989,7 @@ void opentxClose(uint8_t shutdown)
}
#endif
#if defined(USB_MASS_STORAGE)
#if defined(STM32)
void opentxResume()
{
TRACE("opentxResume");
@@ -2465,10 +2465,6 @@ uint16_t stackAvailable()
void opentxInit(OPENTX_INIT_ARGS)
{
#if defined(DEBUG) && defined(USB_SERIAL)
// CoTickDelay(5000); // 10s
#endif
TRACE("opentxInit");
#if defined(GUI)