summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 7bafd422bc..faf1f92773 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -615,6 +615,12 @@ void sound_settings_apply(void)
sound_set(SOUND_MDB_ENABLE, global_settings.mdb_enable);
sound_set(SOUND_SUPERBASS, global_settings.superbass);
#endif
+
+#ifdef HAVE_USB_POWER
+#ifdef CONFIG_CHARGING
+ usb_charging_enable(global_settings.usb_charging);
+#endif
+#endif
}
void settings_apply(void)