summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 59cb480c95..9840b9e3ce 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -1025,7 +1025,7 @@ void settings_apply(bool read_disk)
usb_charging_enable(global_settings.usb_charging);
#endif
-#ifdef HAVE_USB_POWER
+#ifdef HAVE_USB_POWER && !defined(USB_NONE) && !defined(SIMULATOR)
usb_set_mode(global_settings.usb_mode);
#endif