summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-08-18 07:16:53 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-08-18 07:16:53 +0000
commit57d8e8fe0c878fa9fdf806cfd0184ccbd53986ed (patch)
treeda66d58363927b41e68d12796c675cd473c5a5b9 /apps/debug_menu.c
parentb3e49e22865bc251b130a16e74ba21cc086f2e1b (diff)
downloadrockbox-57d8e8fe0c878fa9fdf806cfd0184ccbd53986ed.zip
rockbox-57d8e8fe0c878fa9fdf806cfd0184ccbd53986ed.tar.gz
rockbox-57d8e8fe0c878fa9fdf806cfd0184ccbd53986ed.tar.bz2
rockbox-57d8e8fe0c878fa9fdf806cfd0184ccbd53986ed.tar.xz
Some more cosmetic fixes for bitmap displays in the debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7348 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 67a5cdb..86e02a1 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -85,6 +85,7 @@ bool dbg_os(void)
#ifdef HAVE_LCD_BITMAP
lcd_setmargins(0, 0);
+ lcd_setfont(FONT_SYSFIXED);
#endif
lcd_clear_display();
@@ -118,9 +119,6 @@ bool dbg_os(void)
int usage;
int currval = 0;
-#ifdef HAVE_LCD_BITMAP
- lcd_setmargins(0, 0);
-#endif
lcd_clear_display();
while(1)
@@ -892,9 +890,7 @@ bool dbg_ports(void)
int battery_voltage;
int batt_int, batt_frac;
-#ifdef HAVE_LCD_BITMAP
lcd_setmargins(0, 0);
-#endif
lcd_clear_display();
lcd_setfont(FONT_SYSFIXED);
@@ -972,9 +968,6 @@ bool dbg_ports(void)
int batt_int, batt_frac;
int currval = 0;
-#ifdef HAVE_LCD_BITMAP
- lcd_setmargins(0, 0);
-#endif
lcd_clear_display();
while(1)
@@ -1064,9 +1057,9 @@ bool dbg_cpufreq(void)
#ifdef HAVE_LCD_BITMAP
lcd_setmargins(0, 0);
+ lcd_setfont(FONT_SYSFIXED);
#endif
lcd_clear_display();
- lcd_setfont(FONT_SYSFIXED);
while(1)
{