usb_mode: Missed a #define that led to some sim build failures.

Change-Id: Ie872c5684a200bf99ee7083bb35700a663ef9788
This commit is contained in:
Solomon Peachy 2021-03-07 18:30:50 -05:00
parent bbd85cf0c1
commit 7c58b6f0db

View file

@ -266,7 +266,7 @@ MAKE_MENU(battery_menu, ID2P(LANG_BATTERY_MENU), 0, Icon_NOICON,
&usb_charging,
#endif
);
#ifdef HAVE_USB_POWER
#if defined(HAVE_USB_POWER) && !defined(USB_NONE) && !defined(SIMULATOR)
MENUITEM_SETTING(usb_mode, &global_settings.usb_mode, NULL);
#endif
/* Disk */