diff options
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 | ||