summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 810831e..e7067cc 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -995,8 +995,8 @@ bool dbg_ports(void)
button = button_get_w_tmo(HZ/10);
switch(button)
- {
- case SETTINGS_CANCEL:
+ { /* quit on release to allow for reading the cancel button input */
+ case (SETTINGS_CANCEL|BUTTON_REL):
return false;
}
}