summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/wps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/wps.c b/apps/wps.c
index c9313f8f96..104c56250c 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -941,9 +941,6 @@ int wps_show(void)
#endif
/* stop and exit wps */
-#ifdef BUTTON_RC_STOP
- case BUTTON_RC_STOP:
-#endif
#ifdef BUTTON_OFF
case BUTTON_OFF | BUTTON_REL:
#else
@@ -951,6 +948,9 @@ int wps_show(void)
if ( lastbutton != BUTTON_STOP )
break;
#endif
+#ifdef BUTTON_RC_STOP
+ case BUTTON_RC_STOP:
+#endif
exit = true;
break;