summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index cd58654f7c..5ab08b7fc5 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -22,7 +22,9 @@
#include <stdio.h>
#include "config.h"
#include <lcd.h>
+#ifdef HAVE_REMOTE_LCD
#include <lcd-remote.h>
+#endif
#include <scroll_engine.h>
#include <font.h>
#include <button.h>
@@ -356,7 +358,7 @@ struct screen screens[NB_SCREENS] =
.has_buttonbar=false,
#endif
}
-#endif /* HAVE_REMOTE_LCD */
+#endif /* NB_SCREENS == 2 */
};
#ifdef HAVE_LCD_BITMAP