summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-02-07 11:20:50 +0000
committerJens Arnold <amiconn@rockbox.org>2006-02-07 11:20:50 +0000
commit1c044d06a663c4239312e509e9c963e89d230fbf (patch)
tree0cc4d535e9495d203163751668e0490a74e3e1e7 /apps/debug_menu.c
parent85c0440ae93430d2c3e42442f9ac1be965ccb804 (diff)
downloadrockbox-1c044d06a663c4239312e509e9c963e89d230fbf.tar.gz
rockbox-1c044d06a663c4239312e509e9c963e89d230fbf.zip
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
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 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 }