diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-03-07 19:41:27 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-03-07 19:42:54 -0500 |
commit | c9e8d96e77c9ad3e0ff2df3b1afbac77c33fde85 (patch) | |
tree | 5706c4001882788ab2dc0b352df66d4bcbdc9d08 /apps/menus | |
parent | 7c58b6f0db5afd421c957f66a43ea0a3c972c025 (diff) |
ibasso: Fix the dx50/dx90 build (and usb_mode selection)
(The usb_mode selection setting was actually broken even though
it had been previously compiling...)
Change-Id: I0cac31d24c0ef684b934e40ab14f683cc4a31738
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/settings_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index 5b96bca6c6..33d29b003c 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 ); -#if defined(HAVE_USB_POWER) && !defined(USB_NONE) && !defined(SIMULATOR) +#if defined(DX50) || defined(DX90) || (defined(HAVE_USB_POWER) && !defined(USB_NONE) && !defined(SIMULATOR)) MENUITEM_SETTING(usb_mode, &global_settings.usb_mode, NULL); #endif /* Disk */ @@ -449,7 +449,7 @@ MAKE_MENU(system_menu, ID2P(LANG_SYSTEM), #if defined(DX50) || defined(DX90) &governor, #endif -#if defined(HAVE_USB_POWER) && !defined(USB_NONE) && !defined(SIMULATOR) +#if defined(DX50) || defined(DX90) || (defined(HAVE_USB_POWER) && !defined(USB_NONE) && !defined(SIMULATOR)) &usb_mode, #endif ); |