summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-11-16 12:35:33 -0500
committerSolomon Peachy <pizza@shaftnet.org>2020-11-16 12:35:47 -0500
commit3e32521be58c9e4b0a61db64b9901b9e74297596 (patch)
tree02337e5c496fa5f17d557bccc0dcce55f70030c6 /apps
parent9c68c69cf029b22587f4a7225261a45e5391a242 (diff)
downloadrockbox-3e32521be58c9e4b0a61db64b9901b9e74297596.tar.gz
rockbox-3e32521be58c9e4b0a61db64b9901b9e74297596.zip
Fix the red introduced in 9c68c69
Change-Id: I5f3e3ddd5bc11b8d58e5c05ec3bf7171537c016d
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)
1025 usb_charging_enable(global_settings.usb_charging); 1025 usb_charging_enable(global_settings.usb_charging);
1026#endif 1026#endif
1027 1027
1028#ifdef HAVE_USB_POWER 1028#ifdef HAVE_USB_POWER && !defined(USB_NONE) && !defined(SIMULATOR)
1029 usb_set_mode(global_settings.usb_mode); 1029 usb_set_mode(global_settings.usb_mode);
1030#endif 1030#endif
1031 1031