summaryrefslogtreecommitdiff
path: root/firmware/export/led.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/led.h')
-rw-r--r--firmware/export/led.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/export/led.h b/firmware/export/led.h
index 052da2633b..f1b3b95447 100644
--- a/firmware/export/led.h
+++ b/firmware/export/led.h
@@ -23,8 +23,7 @@
#include <stdbool.h>
extern void led( bool on );
-extern void invert_led( bool on );
-#ifndef HAVE_LED
+#if CONFIG_LED == LED_VIRTUAL
extern bool led_read(int delayticks); /* read for status bar */
#endif