summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2007-08-27 16:04:32 +0000
committerChristian Gmeiner <christian.gmeiner@gmail.com>2007-08-27 16:04:32 +0000
commit8181a0c905a591caef684a2d7487feedbec84c10 (patch)
tree3939183e8e73928d1b5dcfc97b40f33b6baa309b /apps/settings.c
parent9305c86f5b8fdfd60882428f884ba29bded8da78 (diff)
downloadrockbox-8181a0c905a591caef684a2d7487feedbec84c10.tar.gz
rockbox-8181a0c905a591caef684a2d7487feedbec84c10.zip
Usb Stack: only setup packet handling, and not enabled by default as there is a lot to do.
* settings code is not fully ready -> changing device driver has no effect * clean ups * check copyriths * find a way to detect IN transfers * support for full and highspeed * ... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14470 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c10
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
101long lasttime = 0; 105long 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 */