diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-03-07 18:30:50 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-03-07 23:31:36 +0000 |
commit | 7c58b6f0db5afd421c957f66a43ea0a3c972c025 (patch) | |
tree | a4e4b0efa242fce1fd3c26cb42f4c024bed3803a /apps/menus | |
parent | bbd85cf0c1b3fb14d46216ed7a5bc79a70375567 (diff) |
usb_mode: Missed a #define that led to some sim build failures.
Change-Id: Ie872c5684a200bf99ee7083bb35700a663ef9788
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/settings_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index a28b568da1..5b96bca6c6 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c @@ -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 */ |