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) |
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 @@ #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(); |