diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-07-13 07:40:30 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-07-13 07:40:30 +0000 |
commit | 5f655c93f931236c173700f54e4b329bf709e7cc (patch) | |
tree | 7e4edf40a5d59ec356fdc97f8eeef020aa1074dd /apps/main.c | |
parent | ac13e52522dac375096a65264ceae00afb3c5973 (diff) |
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
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
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(); |