Make USB serial dependent on USB_SERIAL rather than DEBUG

This commit is contained in:
Raphael Coeffic
2021-12-17 15:17:49 +01:00
parent 8db2f2e185
commit f93cac3b1d
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ void openUsbMenu()
if (popupMenuHandler != onUSBConnectMenu) {
POPUP_MENU_ADD_ITEM(STR_USB_JOYSTICK);
POPUP_MENU_ADD_ITEM(STR_USB_MASS_STORAGE);
#if defined(DEBUG)
#if defined(USB_SERIAL)
POPUP_MENU_ADD_ITEM(STR_USB_SERIAL);
#endif
POPUP_MENU_TITLE(STR_SELECT_MODE);