From 1c044d06a663c4239312e509e9c963e89d230fbf Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 7 Feb 2006 11:20:50 +0000 Subject: Leave the port debug menu on button release to allow reading the cancel button input value. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8604 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/debug_menu.c') 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) 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; } } -- cgit v1.2.3