summaryrefslogtreecommitdiff
path: root/firmware/panic.c
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2009-11-14 11:27:41 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2009-11-14 11:27:41 +0000
commit81f72ddef6ff4e07ad437b48b5460f761a7f17f3 (patch)
treefc5b9e0c9f08c6ee9fc3c8fb3e7626e96fb4c8f3 /firmware/panic.c
parentd1963e14dede231129a9ae9988b55c157181e8a0 (diff)
Set DRMODE_SOLID, uniform colors, and sysfont before clearing LCD to display panic or exception messages - see FS#10665.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23623 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/panic.c')
-rw-r--r--firmware/panic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/panic.c b/firmware/panic.c
index 0e575e0114..9230337ba4 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -63,6 +63,7 @@ void panicf( const char *fmt, ...)
#if LCD_DEPTH > 1
lcd_set_backdrop(NULL);
+ lcd_set_drawmode(DRMODE_SOLID);
lcd_set_foreground(LCD_BLACK);
lcd_set_background(LCD_WHITE);
#endif