summaryrefslogtreecommitdiffstats
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)
ID2P(LANG_MEGABYTE),
ID2P(LANG_GIGABYTE)
};
-
+#if defined(HAVE_LCD_BITMAP)
FOR_NB_SCREENS(i)
screens[i].setmargins(0, 0);
-
+#endif
while (!done)
{
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)
unsigned char *lines[]={str(LANG_CLEAR_TIME)};
struct text_message message={(char **)lines, 1};
+#if defined(HAVE_LCD_BITMAP)
FOR_NB_SCREENS(i)
screens[i].setmargins(0, 0);
-
+#endif
while(!done)
{
int y[NB_SCREENS]={0};