summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-09-10 13:00:40 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-09-10 13:00:40 +0000
commit3f0e64126e1a568765d46408a1f9d8eee879db29 (patch)
treedcb2195aa2666d41fa7cdf265d354d98027a73d3 /firmware/drivers
parentc45d54b4672482cf251bacbfcac7ef404b160d67 (diff)
downloadrockbox-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')
-rw-r--r--firmware/drivers/led.c4
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
25static bool xor; 27static bool xor;
26static bool current; 28static bool current;
27 29
28#ifdef HAVE_LED
29
30void led(bool on) 30void led(bool on)
31{ 31{
32 current = on; 32 current = on;