adjusted to the differend LCDs and for no LCD at all... :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@438 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
19b25e9dd6
commit
7a186cb598
1 changed files with 8 additions and 0 deletions
|
@ -36,7 +36,15 @@ void panicf( char *fmt, ...)
|
||||||
vsnprintf( panic_buf, sizeof(panic_buf), fmt, ap );
|
vsnprintf( panic_buf, sizeof(panic_buf), fmt, ap );
|
||||||
va_end( ap );
|
va_end( ap );
|
||||||
|
|
||||||
|
#ifdef HAVE_LCD_CHARCELLS
|
||||||
lcd_puts(0,0,panic_buf);
|
lcd_puts(0,0,panic_buf);
|
||||||
|
#elif defined(HAVE_LCD_BITMAP)
|
||||||
|
lcd_clear_display();
|
||||||
|
lcd_puts(0,0,panic_buf, 0);
|
||||||
|
lcd_update();
|
||||||
|
#else
|
||||||
|
/* no LCD */
|
||||||
|
#endif
|
||||||
DEBUGF(panic_buf);
|
DEBUGF(panic_buf);
|
||||||
while(1);
|
while(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue