diff options
| -rw-r--r-- | apps/debug_menu.c | 2 | ||||
| -rw-r--r-- | apps/gui/viewport.c | 2 | ||||
| -rw-r--r-- | apps/menus/display_menu.c | 2 | ||||
| -rw-r--r-- | apps/menus/theme_menu.c | 2 | ||||
| -rw-r--r-- | apps/misc.c | 2 | ||||
| -rw-r--r-- | apps/screen_access.c | 4 |
6 files changed, 13 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 8e1abdd..2a74240 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -52,7 +52,9 @@ #ifdef HAVE_TAGCACHE #include "tagcache.h" #endif +#ifdef HAVE_REMOTE_LCD #include "lcd-remote.h" +#endif #include "crc32.h" #include "logf.h" #if (CONFIG_PLATFORM & PLATFORM_NATIVE) diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c index a55ccc3..760e13c 100644 --- a/apps/gui/viewport.c +++ b/apps/gui/viewport.c @@ -22,7 +22,9 @@ #include <stdlib.h> #include "config.h" #include "lcd.h" +#ifdef HAVE_REMOTE_LCD #include "lcd-remote.h" +#endif #include "font.h" #include "viewport.h" #include "screen_access.h" diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c index 957307d..3e1443d 100644 --- a/apps/menus/display_menu.c +++ b/apps/menus/display_menu.c @@ -35,7 +35,9 @@ #endif #include "talk.h" #include "lcd.h" +#ifdef HAVE_REMOTE_LCD #include "lcd-remote.h" +#endif #ifdef HAVE_TOUCHSCREEN #include "screens.h" #endif diff --git a/apps/menus/theme_menu.c b/apps/menus/theme_menu.c index 5e04191..93511f8 100644 --- a/apps/menus/theme_menu.c +++ b/apps/menus/theme_menu.c @@ -32,7 +32,9 @@ #include "list.h" #include "color_picker.h" #include "lcd.h" +#ifdef HAVE_REMOTE_LCD #include "lcd-remote.h" +#endif #include "backdrop.h" #include "exported_menus.h" #include "appevents.h" diff --git a/apps/misc.c b/apps/misc.c index 30c7471..3c55395 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -33,7 +33,9 @@ #ifndef __PCTOOL__ #include "lang.h" #include "dir.h" +#ifdef HAVE_REMOTE_LCD #include "lcd-remote.h" +#endif #include "timefuncs.h" #include "screens.h" #include "usb_screen.h" diff --git a/apps/screen_access.c b/apps/screen_access.c index cd58654..5ab08b7 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 |