diff options
Diffstat (limited to 'firmware/drivers/led.c')
-rw-r--r-- | firmware/drivers/led.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/drivers/led.c b/firmware/drivers/led.c index f3b0693c6d..c67df9a83f 100644 --- a/firmware/drivers/led.c +++ b/firmware/drivers/led.c | |||
@@ -22,6 +22,8 @@ | |||
22 | #include "led.h" | 22 | #include "led.h" |
23 | #include "system.h" | 23 | #include "system.h" |
24 | 24 | ||
25 | #ifndef HAVE_NO_LED | ||
26 | |||
25 | static bool xor; | 27 | static bool xor; |
26 | static bool current; | 28 | static bool current; |
27 | 29 | ||
@@ -51,3 +53,4 @@ void invert_led(bool on) | |||
51 | led(current); | 53 | led(current); |
52 | } | 54 | } |
53 | 55 | ||
56 | #endif // #ifndef HAVE_NO_LED | ||