mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Revise r23225 a bit, removing the debug_printf function and implementing more generic lcd_(remote)_putsf function(s) instead and use those in more places
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23233 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5ca76ab9c4
commit
f34a841b0c
18 changed files with 366 additions and 413 deletions
|
|
@ -165,16 +165,13 @@ static void system_display_exception_info(unsigned long format,
|
|||
unsigned long pc)
|
||||
{
|
||||
int vector = (format >> 18) & 0xff;
|
||||
char str[32];
|
||||
|
||||
/* clear screen */
|
||||
lcd_clear_display ();
|
||||
lcd_setfont(FONT_SYSFIXED);
|
||||
|
||||
snprintf(str, sizeof(str), "I%02x:%s", vector, irqname[vector]);
|
||||
lcd_puts(0, 0, str);
|
||||
snprintf(str, sizeof(str), "at %08x", pc);
|
||||
lcd_puts(0, 1, str);
|
||||
lcd_putsf(0, 0, "I%02x:%s", vector, irqname[vector]);
|
||||
lcd_putsf(0, 1, "at %08x", pc);
|
||||
lcd_update();
|
||||
|
||||
system_exception_wait();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue