diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2006-02-07 11:20:50 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2006-02-07 11:20:50 +0000 |
| commit | 1c044d06a663c4239312e509e9c963e89d230fbf (patch) | |
| tree | 0cc4d535e9495d203163751668e0490a74e3e1e7 | |
| parent | 85c0440ae93430d2c3e42442f9ac1be965ccb804 (diff) | |
| download | rockbox-1c044d06a663c4239312e509e9c963e89d230fbf.zip rockbox-1c044d06a663c4239312e509e9c963e89d230fbf.tar.gz rockbox-1c044d06a663c4239312e509e9c963e89d230fbf.tar.bz2 rockbox-1c044d06a663c4239312e509e9c963e89d230fbf.tar.xz | |
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
| -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 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; } } |