diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-18 04:57:28 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-18 04:57:28 +0000 |
commit | ac61951452e001da48430d8487521ad32b7a123c (patch) | |
tree | 0696d0c278976c9ec51fd6b5adb65429739b0164 /apps | |
parent | 00d249ab672e2ce5c27ddd35ea7a40f71ec7a426 (diff) | |
download | rockbox-ac61951452e001da48430d8487521ad32b7a123c.tar.gz rockbox-ac61951452e001da48430d8487521ad32b7a123c.zip |
Do the CONFIG_USBOTG define correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12382 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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 70a3f8ddea..9a55be8eda 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 defined(CONFIG_USBOTG) && CONFIG_USBOTG == USBOTG_ISP1362 | 98 | #if CONFIG_USBOTG == USBOTG_ISP1362 |
99 | #include "isp1362.h" | 99 | #include "isp1362.h" |
100 | #endif | 100 | #endif |
101 | 101 | ||
102 | #if defined(CONFIG_USBOTG) && CONFIG_USBOTG == USBOTG_M5636 | 102 | #if 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 defined(CONFIG_USBOTG) && CONFIG_USBOTG == USBOTG_ISP1362 | 353 | #if CONFIG_USBOTG == USBOTG_ISP1362 |
354 | isp1362_init(); | 354 | isp1362_init(); |
355 | #elif defined(CONFIG_USBOTG) && CONFIG_USBOTG == USBOTG_M5636 | 355 | #elif CONFIG_USBOTG == USBOTG_M5636 |
356 | m5636_init(); | 356 | m5636_init(); |
357 | #endif | 357 | #endif |
358 | 358 | ||