summaryrefslogtreecommitdiff
path: root/firmware/drivers/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/led.c')
-rw-r--r--firmware/drivers/led.c5
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
28void led(bool on) 28void 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
43static bool current; 42static bool current;
44static long last_on; /* timestamp of switching off */ 43static long last_on; /* timestamp of switching off */