diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-18 01:17:06 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-18 01:17:06 +0000 |
commit | 1083de8e7dd9360c999dbfe08cdf5d7c1ee5c4a6 (patch) | |
tree | 3d7684811452c44a4c499c35341a98bfb66fc814 /apps/main.c | |
parent | c2f05592ee1ba8399b64b5f63669c0eaa8cb8e0e (diff) | |
download | rockbox-1083de8e7dd9360c999dbfe08cdf5d7c1ee5c4a6.tar.gz rockbox-1083de8e7dd9360c999dbfe08cdf5d7c1ee5c4a6.zip |
CONFIG_USBOTG fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12377 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/main.c b/apps/main.c index 6e49b51809..9f521e5064 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -95,11 +95,11 @@ | |||
95 | #include "lcd-remote.h" | 95 | #include "lcd-remote.h" |
96 | #endif | 96 | #endif |
97 | 97 | ||
98 | #if CONFIG_USBOTG == USBOTG_ISP1362 | 98 | #if defined(CONFIG_USBOTG) && CONFIG_USBOTG == USBOTG_ISP1362 |
99 | #include "isp1362.h" | 99 | #include "isp1362.h" |
100 | #endif | 100 | #endif |
101 | 101 | ||
102 | #if CONFIG_USBOTG == USBOTG_M5636 | 102 | #if defined(CONFIG_USBOTG) && CONFIG_USBOTG == USBOTG_M5636 |
103 | #include "m5636.h" | 103 | #include "m5636.h" |
104 | #endif | 104 | #endif |
105 | 105 | ||
@@ -350,9 +350,9 @@ static void init(void) | |||
350 | adc_init(); | 350 | adc_init(); |
351 | 351 | ||
352 | usb_init(); | 352 | usb_init(); |
353 | #if CONFIG_USBOTG == USBOTG_ISP1362 | 353 | #if defined(CONFIG_USBOTG) && CONFIG_USBOTG == USBOTG_ISP1362 |
354 | isp1362_init(); | 354 | isp1362_init(); |
355 | #elif CONFIG_USBOTG == USBOTG_M5636 | 355 | #elif defined(CONFIG_USBOTG) && CONFIG_USBOTG == USBOTG_M5636 |
356 | m5636_init(); | 356 | m5636_init(); |
357 | #endif | 357 | #endif |
358 | 358 | ||