From 977169ea7af37e8e4617a67a84874bb98d07b070 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 16 Jun 2006 17:34:18 +0000 Subject: 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 --- apps/main.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps') 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(); -- cgit v1.2.3