summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/menus/main_menu.c4
-rw-r--r--apps/screens.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 6cb013012a..0d280d90b0 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -157,10 +157,10 @@ static bool show_info(void)
157 ID2P(LANG_MEGABYTE), 157 ID2P(LANG_MEGABYTE),
158 ID2P(LANG_GIGABYTE) 158 ID2P(LANG_GIGABYTE)
159 }; 159 };
160 160#if defined(HAVE_LCD_BITMAP)
161 FOR_NB_SCREENS(i) 161 FOR_NB_SCREENS(i)
162 screens[i].setmargins(0, 0); 162 screens[i].setmargins(0, 0);
163 163#endif
164 while (!done) 164 while (!done)
165 { 165 {
166 int y=0; 166 int y=0;
diff --git a/apps/screens.c b/apps/screens.c
index 8cae837327..26f083da47 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -1317,9 +1317,10 @@ bool view_runtime(void)
1317 unsigned char *lines[]={str(LANG_CLEAR_TIME)}; 1317 unsigned char *lines[]={str(LANG_CLEAR_TIME)};
1318 struct text_message message={(char **)lines, 1}; 1318 struct text_message message={(char **)lines, 1};
1319 1319
1320#if defined(HAVE_LCD_BITMAP)
1320 FOR_NB_SCREENS(i) 1321 FOR_NB_SCREENS(i)
1321 screens[i].setmargins(0, 0); 1322 screens[i].setmargins(0, 0);
1322 1323#endif
1323 while(!done) 1324 while(!done)
1324 { 1325 {
1325 int y[NB_SCREENS]={0}; 1326 int y[NB_SCREENS]={0};