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.tar.gz rockbox-3f0e64126e1a568765d46408a1f9d8eee879db29.zip |
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 182f30f4e0..24350126ba 100644 --- a/firmware/drivers/led.c +++ b/firmware/drivers/led.c | |||
@@ -22,11 +22,11 @@ | |||
22 | #include "led.h" | 22 | #include "led.h" |
23 | #include "system.h" | 23 | #include "system.h" |
24 | 24 | ||
25 | #ifdef HAVE_LED | ||
26 | |||
25 | static bool xor; | 27 | static bool xor; |
26 | static bool current; | 28 | static bool current; |
27 | 29 | ||
28 | #ifdef HAVE_LED | ||
29 | |||
30 | void led(bool on) | 30 | void led(bool on) |
31 | { | 31 | { |
32 | current = on; | 32 | current = on; |