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
This commit is contained in:
Daniel Stenberg 2005-01-09 23:24:57 +00:00
parent fe79cd8fa9
commit 3fce85735e

View file

@ -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;