summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorMarkus Braun <markus.braun@krawel.de>2002-08-20 22:13:20 +0000
committerMarkus Braun <markus.braun@krawel.de>2002-08-20 22:13:20 +0000
commita0300f5d7e1cc3433918909c51b086c4cef193ca (patch)
tree6a02073bdf3564bab266b004c625d5880e9dad13 /apps/debug_menu.c
parent82e8b0becb7fb07ed20308754232a8a579725038 (diff)
corrected lcd margins for debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 2670a45d96..44079a789d 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -53,6 +53,9 @@ void dbg_os(void)
int i;
int usage;
+#ifdef HAVE_LCD_BITMAP
+ lcd_setmargins(0, 0);
+#endif
lcd_clear_display();
while(1)
@@ -86,6 +89,9 @@ void dbg_os(void)
int usage;
int currval = 0;
+#ifdef HAVE_LCD_BITMAP
+ lcd_setmargins(0, 0);
+#endif
lcd_clear_display();
while(1)
@@ -135,6 +141,9 @@ void dbg_ports(void)
bool charge_status = false;
bool ide_status = true;
+#ifdef HAVE_LCD_BITMAP
+ lcd_setmargins(0, 0);
+#endif
lcd_clear_display();
while(1)
@@ -206,6 +215,9 @@ void 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)
@@ -295,6 +307,9 @@ void dbg_rtc(void)
int i;
int button;
+#ifdef HAVE_LCD_BITMAP
+ lcd_setmargins(0, 0);
+#endif
lcd_clear_display();
lcd_puts(0, 0, "RTC read:");
@@ -351,6 +366,9 @@ void dbg_mas(void)
char buf[32];
unsigned int addr = 0, r, i;
+#ifdef HAVE_LCD_BITMAP
+ lcd_setmargins(0, 0);
+#endif
lcd_clear_display();
lcd_puts(0, 0, "MAS register read:");
@@ -398,6 +416,9 @@ void dbg_mas_codec(void)
char buf[32];
unsigned int addr = 0, r, i;
+#ifdef HAVE_LCD_BITMAP
+ lcd_setmargins(0, 0);
+#endif
lcd_clear_display();
lcd_puts(0, 0, "MAS codec reg read:");
@@ -444,6 +465,9 @@ void view_battery(void)
int maxv, minv;
char buf[32];
+#ifdef HAVE_LCD_BITMAP
+ lcd_setmargins(0, 0);
+#endif
while(1)
{
switch (view) {
@@ -572,6 +596,9 @@ void dbg_mas_info(void)
unsigned long pll48, pll44, config;
int pll_toggle = 0;
+#ifdef HAVE_LCD_BITMAP
+ lcd_setmargins(0, 0);
+#endif
while(1)
{
switch(currval)