usb_mode: Missed a #define that led to some sim build failures.
Change-Id: Ie872c5684a200bf99ee7083bb35700a663ef9788
This commit is contained in:
parent
bbd85cf0c1
commit
7c58b6f0db
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue