diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-01-09 23:24:57 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-01-09 23:24:57 +0000 |
commit | 3fce85735ee8142268be5f8bdae994fa2caff86a (patch) | |
tree | 40813daacb2f1d11e21d7804933d74d700908041 | |
parent | fe79cd8fa960d0fdf0bc2a4bc267b98833d9d311 (diff) |
Jean-Philippe Bernardy: only flash with LED if there is a led available!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5546 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/panic.c | 2 |
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; |