mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
more CONFIG_LED fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12376 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
eff0dc3e13
commit
c2f05592ee
2 changed files with 5 additions and 4 deletions
|
@ -39,7 +39,7 @@ void panicf( const char *fmt, ...)
|
|||
va_list ap;
|
||||
|
||||
#ifndef SIMULATOR
|
||||
#if CONFIG_LED == LED_REAL
|
||||
#if (defined(CONFIG_LED) && (CONFIG_LED == LED_REAL))
|
||||
bool state = false;
|
||||
int i = 0;
|
||||
#endif
|
||||
|
@ -90,7 +90,7 @@ void panicf( const char *fmt, ...)
|
|||
while (1)
|
||||
{
|
||||
#ifndef SIMULATOR
|
||||
#if CONFIG_LED == LED_REAL
|
||||
#if (defined(CONFIG_LED) && (CONFIG_LED == LED_REAL))
|
||||
if (--i <= 0)
|
||||
{
|
||||
state = !state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue