diff options
| author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-09-10 13:00:40 +0000 |
|---|---|---|
| committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-09-10 13:00:40 +0000 |
| commit | 3f0e64126e1a568765d46408a1f9d8eee879db29 (patch) | |
| tree | dcb2195aa2666d41fa7cdf265d354d98027a73d3 /firmware/drivers/led.c | |
| parent | c45d54b4672482cf251bacbfcac7ef404b160d67 (diff) | |
| download | rockbox-3f0e64126e1a568765d46408a1f9d8eee879db29.zip rockbox-3f0e64126e1a568765d46408a1f9d8eee879db29.tar.gz rockbox-3f0e64126e1a568765d46408a1f9d8eee879db29.tar.bz2 rockbox-3f0e64126e1a568765d46408a1f9d8eee879db29.tar.xz | |
avoid unused variable warning if no LED
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5059 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/led.c')
| -rw-r--r-- | firmware/drivers/led.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/led.c b/firmware/drivers/led.c index 182f30f..2435012 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; |