summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-11-16 12:55:33 -0500
committerSolomon Peachy <pizza@shaftnet.org>2020-11-16 12:55:33 -0500
commit63691ad1067911ebbded3e93301ae08ddadf59b9 (patch)
tree73c0b0e2af638b6a2d4a3a8f509b1e42fa8a0287
parent3e32521be58c9e4b0a61db64b9901b9e74297596 (diff)
downloadrockbox-63691ad.tar.gz
rockbox-63691ad.zip
Fix the fix, which managed to make things _worse_
Change-Id: I91b6bc71cf1d5c4cf06d839dfa783cb799756b77
-rw-r--r--apps/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 9840b9e3ce..1a93a4de54 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 && !defined(USB_NONE) && !defined(SIMULATOR)
+#if defined(HAVE_USB_POWER) && !defined(USB_NONE) && !defined(SIMULATOR)
usb_set_mode(global_settings.usb_mode);
#endif