summaryrefslogtreecommitdiffstats
path: root/apps/wps.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wps.c')
-rw-r--r--apps/wps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/wps.c b/apps/wps.c
index a82ebc1a80..edc876e506 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -809,7 +809,11 @@ int wps_show(void)
/* ignore non-remote buttons when keys are locked */
if (keys_locked &&
+#ifdef HAVE_RECORDER_KEYPAD
! ((button & BUTTON_F1) ||
+#else
+ ! ((button & BUTTON_MENU) ||
+#endif
(button == SYS_USB_CONNECTED) ||
(button & BUTTON_REMOTE)))
continue;