diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 810831eb0c..e7067cc055 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -995,8 +995,8 @@ bool dbg_ports(void) | |||
995 | button = button_get_w_tmo(HZ/10); | 995 | button = button_get_w_tmo(HZ/10); |
996 | 996 | ||
997 | switch(button) | 997 | switch(button) |
998 | { | 998 | { /* quit on release to allow for reading the cancel button input */ |
999 | case SETTINGS_CANCEL: | 999 | case (SETTINGS_CANCEL|BUTTON_REL): |
1000 | return false; | 1000 | return false; |
1001 | } | 1001 | } |
1002 | } | 1002 | } |