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