forked from len0rd/rockbox
lcd_setfont() is for bitmap LCDs only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2295 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
038df5cdc9
commit
fba7a4102f
1 changed files with 2 additions and 0 deletions
|
|
@ -326,7 +326,9 @@ void UIE (unsigned int pc) /* Unexpected Interrupt or Exception */
|
||||||
|
|
||||||
/* clear screen */
|
/* clear screen */
|
||||||
lcd_clear_display ();
|
lcd_clear_display ();
|
||||||
|
#ifdef HAVE_LCD_BITMAP
|
||||||
lcd_setfont(FONT_SYSFIXED);
|
lcd_setfont(FONT_SYSFIXED);
|
||||||
|
#endif
|
||||||
/* output exception */
|
/* output exception */
|
||||||
n = (n - (unsigned)UIE0 - 4)>>2; // get exception or interrupt number
|
n = (n - (unsigned)UIE0 - 4)>>2; // get exception or interrupt number
|
||||||
snprintf(str,sizeof(str),"I%02x:%s",n,irqname[n]);
|
snprintf(str,sizeof(str),"I%02x:%s",n,irqname[n]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue