summaryrefslogtreecommitdiffstats
path: root/firmware/panic.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-01-10 00:06:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-01-10 00:06:32 +0000
commit87923f2459da027b2c216a9e5a539ba8288054cc (patch)
treeeafe1bf17ad0d6e8e7e1384183809dc12d3ee35b /firmware/panic.c
parent9e98e2c5f77f49220e27f8d01713b95dfbb6ac69 (diff)
downloadrockbox-87923f2459da027b2c216a9e5a539ba8288054cc.tar.gz
rockbox-87923f2459da027b2c216a9e5a539ba8288054cc.tar.bz2
rockbox-87923f2459da027b2c216a9e5a539ba8288054cc.zip
Reverted latest change due to compiler warning. led() doesn't do anything
anyway if HAVE_LED isn't defined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5549 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/panic.c')
-rw-r--r--firmware/panic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/panic.c b/firmware/panic.c
index 8aa7bc9c3c..c54ff4a480 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -76,7 +76,7 @@ void panicf( const char *fmt, ...)
DEBUGF(panic_buf);
while (1)
{
-#if !defined(SIMULATOR) && defined(HAVE_LED)
+#ifndef SIMULATOR
volatile int i;
led (state);
state = state?false:true;