mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
USB modes cleanup (#5396)
* USB modes cleanup * Forgot a couple * Exclude joystick code from bootloader
This commit is contained in:
parent
f2cf444a64
commit
8662de39f5
10 changed files with 14 additions and 20 deletions
|
@ -451,7 +451,7 @@ void perMain()
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(USB_MASS_STORAGE)
|
||||
#if defined(STM32)
|
||||
if (usbPlugged() && getSelectedUsbMode() == USB_MASS_STORAGE_MODE) {
|
||||
// disable access to menus
|
||||
lcdClear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue