diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-06-16 17:34:18 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-06-16 17:34:18 +0000 |
commit | 977169ea7af37e8e4617a67a84874bb98d07b070 (patch) | |
tree | 2d6f28e11682b2788dde041fa03cd198ab44fcde /apps | |
parent | cd69996450ab847fe3014c3a3c701173e36997fe (diff) | |
download | rockbox-977169ea7af37e8e4617a67a84874bb98d07b070.tar.gz rockbox-977169ea7af37e8e4617a67a84874bb98d07b070.zip |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c index 7bfc438cfd..d6e3c342c9 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -88,6 +88,10 @@ | |||
88 | #include "lcd-remote.h" | 88 | #include "lcd-remote.h" |
89 | #endif | 89 | #endif |
90 | 90 | ||
91 | #if CONFIG_USBOTG == USBOTG_ISP1362 | ||
92 | #include "isp1362.h" | ||
93 | #endif | ||
94 | |||
91 | /*#define AUTOROCK*/ /* define this to check for "autostart.rock" on boot */ | 95 | /*#define AUTOROCK*/ /* define this to check for "autostart.rock" on boot */ |
92 | 96 | ||
93 | const char appsversion[]=APPSVERSION; | 97 | const char appsversion[]=APPSVERSION; |
@@ -276,6 +280,9 @@ void init(void) | |||
276 | adc_init(); | 280 | adc_init(); |
277 | 281 | ||
278 | usb_init(); | 282 | usb_init(); |
283 | #if CONFIG_USBOTG == USBOTG_ISP1362 | ||
284 | isp1362_init(); | ||
285 | #endif | ||
279 | 286 | ||
280 | backlight_init(); | 287 | backlight_init(); |
281 | 288 | ||