summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/system-coldfire.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-10-17 18:02:48 +0000
committerNils Wallménius <nils@rockbox.org>2009-10-17 18:02:48 +0000
commitf34a841b0cc5d1a605375209e1b013b388f741bc (patch)
tree90c780494fa42ffe34e3504d6fe3dc026a91d457 /firmware/target/coldfire/system-coldfire.c
parent5ca76ab9c4af0759f1bcf75ce24c47ccd38fc962 (diff)
downloadrockbox-f34a841b0cc5d1a605375209e1b013b388f741bc.tar.gz
rockbox-f34a841b0cc5d1a605375209e1b013b388f741bc.zip
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
Diffstat (limited to 'firmware/target/coldfire/system-coldfire.c')
-rw-r--r--firmware/target/coldfire/system-coldfire.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/firmware/target/coldfire/system-coldfire.c b/firmware/target/coldfire/system-coldfire.c
index a96cd34441..8ae702fdfc 100644
--- a/firmware/target/coldfire/system-coldfire.c
+++ b/firmware/target/coldfire/system-coldfire.c
@@ -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();