summaryrefslogtreecommitdiff
path: root/apps/filetree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/filetree.c')
-rw-r--r--apps/filetree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/filetree.c b/apps/filetree.c
index 0a2c855375..708c135be7 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -388,7 +388,7 @@ int ft_enter(struct tree_context* c)
MAX_FILENAME);
break;
-#ifdef HAVE_REMOTE_LCD
+#if defined(HAVE_REMOTE_LCD) && (NB_SCREENS > 1)
/* remote-wps config file */
case TREE_ATTR_RWPS:
wps_data_load(gui_wps[1].data, buf, true, true);