summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 182f30f..2435012 100644
--- a/firmware/drivers/led.c
+++ b/firmware/drivers/led.c
@@ -22,11 +22,11 @@
#include "led.h"
#include "system.h"
+#ifdef HAVE_LED
+
static bool xor;
static bool current;
-#ifdef HAVE_LED
-
void led(bool on)
{
current = on;