summaryrefslogtreecommitdiffstats
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index b61ed0a43d..e91eb4b16f 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -864,18 +864,18 @@ static bool dirbrowse(void)
if (start_wps && audio_status() )
{
int i;
-#if HAVE_LCD_COLOR
+#ifdef HAVE_LCD_COLOR
fb_data* old_backdrop;
#endif
FOR_NB_SCREENS(i)
screens[i].stop_scroll();
-#if HAVE_LCD_COLOR
+#ifdef HAVE_LCD_COLOR
old_backdrop = lcd_get_backdrop();
#endif
if (gui_wps_show() == SYS_USB_CONNECTED)
reload_dir = true;
-#if HAVE_LCD_COLOR
+#ifdef HAVE_LCD_COLOR
lcd_set_backdrop(old_backdrop);
#endif
#ifdef HAVE_HOTSWAP