diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/settings.c b/apps/settings.c index cd1c252426..c7c8772975 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -98,6 +98,10 @@ struct system_status global_status; | |||
98 | #include "lcd-remote.h" | 98 | #include "lcd-remote.h" |
99 | #endif | 99 | #endif |
100 | 100 | ||
101 | #ifdef HAVE_USBSTACK | ||
102 | #include "usbstack.h" | ||
103 | #endif | ||
104 | |||
101 | long lasttime = 0; | 105 | long lasttime = 0; |
102 | 106 | ||
103 | /** NVRAM stuff, if the target doesnt have NVRAM it is saved in ROCKBOX_DIR /nvram.bin **/ | 107 | /** NVRAM stuff, if the target doesnt have NVRAM it is saved in ROCKBOX_DIR /nvram.bin **/ |
@@ -875,11 +879,13 @@ void settings_apply(void) | |||
875 | read_color_theme_file(); | 879 | read_color_theme_file(); |
876 | #endif | 880 | #endif |
877 | 881 | ||
882 | #ifdef HAVE_USBSTACK | ||
883 | usb_controller_select(global_settings.usb_stack_mode); | ||
884 | usb_device_driver_bind(global_settings.usb_stack_device_driver); | ||
885 | #endif | ||
878 | } | 886 | } |
879 | 887 | ||
880 | 888 | ||
881 | |||
882 | |||
883 | /* | 889 | /* |
884 | * reset all settings to their default value | 890 | * reset all settings to their default value |
885 | */ | 891 | */ |