summaryrefslogtreecommitdiff
path: root/apps/gui/gwps-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r--apps/gui/gwps-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 98f2c7e2ed..212f40f3c0 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -48,7 +48,7 @@
48#include "bmp.h" 48#include "bmp.h"
49#include "atoi.h" 49#include "atoi.h"
50#endif 50#endif
51#ifdef HAVE_LCD_COLOR 51#if LCD_DEPTH > 1
52#include "backdrop.h" 52#include "backdrop.h"
53#endif 53#endif
54#include "dsp.h" 54#include "dsp.h"
@@ -143,7 +143,7 @@ bool wps_data_preload_tags(struct wps_data *data, char *buf,
143 } 143 }
144 break; 144 break;
145 145
146#ifdef HAVE_LCD_COLOR 146#if LCD_DEPTH > 1
147 case 'X': 147 case 'X':
148 /* Backdrop image - must be the same size as the LCD */ 148 /* Backdrop image - must be the same size as the LCD */
149 { 149 {
@@ -2473,7 +2473,7 @@ bool gui_wps_display(void)
2473 if(i == 0) 2473 if(i == 0)
2474 { 2474 {
2475#ifdef HAVE_LCD_BITMAP 2475#ifdef HAVE_LCD_BITMAP
2476#ifdef HAVE_LCD_COLOR 2476#if LCD_DEPTH > 1
2477 unload_wps_backdrop(); 2477 unload_wps_backdrop();
2478#endif 2478#endif
2479 wps_data_load(gui_wps[i].data, 2479 wps_data_load(gui_wps[i].data,