forked from len0rd/rockbox
H300: Rudimentary driver for the ISP1362 USB on-the-go controller. For now it just sends the chip to sleep, solving the poor battery runtime issue.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10128 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cd69996450
commit
977169ea7a
8 changed files with 355 additions and 7 deletions
|
@ -88,6 +88,10 @@
|
|||
#include "lcd-remote.h"
|
||||
#endif
|
||||
|
||||
#if CONFIG_USBOTG == USBOTG_ISP1362
|
||||
#include "isp1362.h"
|
||||
#endif
|
||||
|
||||
/*#define AUTOROCK*/ /* define this to check for "autostart.rock" on boot */
|
||||
|
||||
const char appsversion[]=APPSVERSION;
|
||||
|
@ -276,6 +280,9 @@ void init(void)
|
|||
adc_init();
|
||||
|
||||
usb_init();
|
||||
#if CONFIG_USBOTG == USBOTG_ISP1362
|
||||
isp1362_init();
|
||||
#endif
|
||||
|
||||
backlight_init();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue