From 5f655c93f931236c173700f54e4b329bf709e7cc Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 13 Jul 2006 07:40:30 +0000 Subject: Patch #5639 by Ulrich Pegelow, inits the M5636 USBOTG chip on the X5 to reduce the battery consumption. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10208 a1c6a512-1295-4272-9138-f99709370657 --- apps/main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/main.c') diff --git a/apps/main.c b/apps/main.c index d6e3c342c9..4f31cdb58a 100644 --- a/apps/main.c +++ b/apps/main.c @@ -92,6 +92,10 @@ #include "isp1362.h" #endif +#if CONFIG_USBOTG == USBOTG_M5636 +#include "m5636.h" +#endif + /*#define AUTOROCK*/ /* define this to check for "autostart.rock" on boot */ const char appsversion[]=APPSVERSION; @@ -282,6 +286,8 @@ void init(void) usb_init(); #if CONFIG_USBOTG == USBOTG_ISP1362 isp1362_init(); +#elif CONFIG_USBOTG == USBOTG_M5636 + m5636_init(); #endif backlight_init(); -- cgit v1.2.3