forked from len0rd/rockbox
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
This commit is contained in:
parent
9305c86f5b
commit
8181a0c905
29 changed files with 4585 additions and 72 deletions
|
|
@ -98,6 +98,10 @@ struct system_status global_status;
|
|||
#include "lcd-remote.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_USBSTACK
|
||||
#include "usbstack.h"
|
||||
#endif
|
||||
|
||||
long lasttime = 0;
|
||||
|
||||
/** NVRAM stuff, if the target doesnt have NVRAM it is saved in ROCKBOX_DIR /nvram.bin **/
|
||||
|
|
@ -875,11 +879,13 @@ void settings_apply(void)
|
|||
read_color_theme_file();
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_USBSTACK
|
||||
usb_controller_select(global_settings.usb_stack_mode);
|
||||
usb_device_driver_bind(global_settings.usb_stack_device_driver);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* reset all settings to their default value
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue