mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Disable Serial USB choice if !DEBUG (no function currently)
This commit is contained in:
parent
e59afb6ec1
commit
09f257026e
2 changed files with 6 additions and 0 deletions
|
@ -53,7 +53,9 @@ void handleUsbConnection()
|
|||
if((g_eeGeneral.USBMode == USB_UNSELECTED_MODE) && (popupMenuNoItems == 0)) {
|
||||
POPUP_MENU_ADD_ITEM(STR_USB_JOYSTICK);
|
||||
POPUP_MENU_ADD_ITEM(STR_USB_MASS_STORAGE);
|
||||
#if defined(DEBUG)
|
||||
POPUP_MENU_ADD_ITEM(STR_USB_SERIAL);
|
||||
#endif
|
||||
POPUP_MENU_START(onUSBConnectMenu);
|
||||
}
|
||||
if (g_eeGeneral.USBMode != USB_UNSELECTED_MODE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue