diff options
Diffstat (limited to 'firmware/drivers/led.c')
-rw-r--r-- | firmware/drivers/led.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/drivers/led.c b/firmware/drivers/led.c index 2799b7cd8c..36748a1b18 100644 --- a/firmware/drivers/led.c +++ b/firmware/drivers/led.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include "system.h" | 23 | #include "system.h" |
24 | #include "kernel.h" | 24 | #include "kernel.h" |
25 | 25 | ||
26 | #if (defined(CONFIG_LED) && (CONFIG_LED == LED_REAL)) | 26 | #if (CONFIG_LED == LED_REAL) |
27 | 27 | ||
28 | void led(bool on) | 28 | void led(bool on) |
29 | { | 29 | { |
@@ -37,8 +37,7 @@ void led(bool on) | |||
37 | } | 37 | } |
38 | } | 38 | } |
39 | 39 | ||
40 | #elif (defined(CONFIG_LED) && (CONFIG_LED == LED_VIRTUAL)) \ | 40 | #elif (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD) |
41 | || defined(HAVE_REMOTE_LCD) | ||
42 | 41 | ||
43 | static bool current; | 42 | static bool current; |
44 | static long last_on; /* timestamp of switching off */ | 43 | static long last_on; /* timestamp of switching off */ |