summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/panic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/panic.c b/firmware/panic.c
index c54ff4a480..8aa7bc9c3c 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -76,7 +76,7 @@ void panicf( const char *fmt, ...)
DEBUGF(panic_buf);
while (1)
{
-#ifndef SIMULATOR
+#if !defined(SIMULATOR) && defined(HAVE_LED)
volatile int i;
led (state);
state = state?false:true;