From 3f0e64126e1a568765d46408a1f9d8eee879db29 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Fri, 10 Sep 2004 13:00:40 +0000 Subject: avoid unused variable warning if no LED git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5059 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/led.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/drivers/led.c') diff --git a/firmware/drivers/led.c b/firmware/drivers/led.c index 182f30f4e0..24350126ba 100644 --- a/firmware/drivers/led.c +++ b/firmware/drivers/led.c @@ -22,11 +22,11 @@ #include "led.h" #include "system.h" +#ifdef HAVE_LED + static bool xor; static bool current; -#ifdef HAVE_LED - void led(bool on) { current = on; -- cgit v1.2.3