From 2067fcc695852a5589d6dded27cde77e20380179 Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Sat, 17 Feb 2007 23:22:37 +0000 Subject: Fix most (all?) CONFIG_LED warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12370 a1c6a512-1295-4272-9138-f99709370657 --- apps/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/main.c') diff --git a/apps/main.c b/apps/main.c index 4c643c4130..6e49b51809 100644 --- a/apps/main.c +++ b/apps/main.c @@ -561,7 +561,7 @@ int main(void) app_main(); while(1) { -#if CONFIG_LED == LED_REAL +#if defined(CONFIG_LED) && (CONFIG_LED == LED_REAL) led(true); sleep(HZ/10); led(false); sleep(HZ/10); #endif -- cgit v1.2.3