From 1083de8e7dd9360c999dbfe08cdf5d7c1ee5c4a6 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 18 Feb 2007 01:17:06 +0000 Subject: CONFIG_USBOTG fixes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12377 a1c6a512-1295-4272-9138-f99709370657 --- apps/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/main.c') 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 @@ #include "lcd-remote.h" #endif -#if CONFIG_USBOTG == USBOTG_ISP1362 +#if defined(CONFIG_USBOTG) && CONFIG_USBOTG == USBOTG_ISP1362 #include "isp1362.h" #endif -#if CONFIG_USBOTG == USBOTG_M5636 +#if defined(CONFIG_USBOTG) && CONFIG_USBOTG == USBOTG_M5636 #include "m5636.h" #endif @@ -350,9 +350,9 @@ static void init(void) adc_init(); usb_init(); -#if CONFIG_USBOTG == USBOTG_ISP1362 +#if defined(CONFIG_USBOTG) && CONFIG_USBOTG == USBOTG_ISP1362 isp1362_init(); -#elif CONFIG_USBOTG == USBOTG_M5636 +#elif defined(CONFIG_USBOTG) && CONFIG_USBOTG == USBOTG_M5636 m5636_init(); #endif -- cgit v1.2.3