diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/debug_menu.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 67a5cdb941..86e02a1e84 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -85,6 +85,7 @@ bool dbg_os(void) | |||
85 | 85 | ||
86 | #ifdef HAVE_LCD_BITMAP | 86 | #ifdef HAVE_LCD_BITMAP |
87 | lcd_setmargins(0, 0); | 87 | lcd_setmargins(0, 0); |
88 | lcd_setfont(FONT_SYSFIXED); | ||
88 | #endif | 89 | #endif |
89 | lcd_clear_display(); | 90 | lcd_clear_display(); |
90 | 91 | ||
@@ -118,9 +119,6 @@ bool dbg_os(void) | |||
118 | int usage; | 119 | int usage; |
119 | int currval = 0; | 120 | int currval = 0; |
120 | 121 | ||
121 | #ifdef HAVE_LCD_BITMAP | ||
122 | lcd_setmargins(0, 0); | ||
123 | #endif | ||
124 | lcd_clear_display(); | 122 | lcd_clear_display(); |
125 | 123 | ||
126 | while(1) | 124 | while(1) |
@@ -892,9 +890,7 @@ bool dbg_ports(void) | |||
892 | int battery_voltage; | 890 | int battery_voltage; |
893 | int batt_int, batt_frac; | 891 | int batt_int, batt_frac; |
894 | 892 | ||
895 | #ifdef HAVE_LCD_BITMAP | ||
896 | lcd_setmargins(0, 0); | 893 | lcd_setmargins(0, 0); |
897 | #endif | ||
898 | lcd_clear_display(); | 894 | lcd_clear_display(); |
899 | lcd_setfont(FONT_SYSFIXED); | 895 | lcd_setfont(FONT_SYSFIXED); |
900 | 896 | ||
@@ -972,9 +968,6 @@ bool dbg_ports(void) | |||
972 | int batt_int, batt_frac; | 968 | int batt_int, batt_frac; |
973 | int currval = 0; | 969 | int currval = 0; |
974 | 970 | ||
975 | #ifdef HAVE_LCD_BITMAP | ||
976 | lcd_setmargins(0, 0); | ||
977 | #endif | ||
978 | lcd_clear_display(); | 971 | lcd_clear_display(); |
979 | 972 | ||
980 | while(1) | 973 | while(1) |
@@ -1064,9 +1057,9 @@ bool dbg_cpufreq(void) | |||
1064 | 1057 | ||
1065 | #ifdef HAVE_LCD_BITMAP | 1058 | #ifdef HAVE_LCD_BITMAP |
1066 | lcd_setmargins(0, 0); | 1059 | lcd_setmargins(0, 0); |
1060 | lcd_setfont(FONT_SYSFIXED); | ||
1067 | #endif | 1061 | #endif |
1068 | lcd_clear_display(); | 1062 | lcd_clear_display(); |
1069 | lcd_setfont(FONT_SYSFIXED); | ||
1070 | 1063 | ||
1071 | while(1) | 1064 | while(1) |
1072 | { | 1065 | { |