summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-02-01 11:08:35 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-02-01 11:08:35 +0000
commitc47172a48059c473350b78a68c25b0cbf368fac1 (patch)
treedb3e2f8ed75d809fa84279697444b0a7e3a58959 /apps/settings.c
parent253be082fcb2a17e17cc44699d508533db09ec25 (diff)
FS#4770 - Oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12171 a1c6a512-1295-4272-9138-f99709370657
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)