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:
Daniel Stenberg 2002-05-05 11:17:10 +00:00
parent 19b25e9dd6
commit 7a186cb598

View file

@ -36,7 +36,15 @@ void panicf( char *fmt, ...)
vsnprintf( panic_buf, sizeof(panic_buf), fmt, ap );
va_end( ap );
#ifdef HAVE_LCD_CHARCELLS
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);
while(1);
}