1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jens Arnold 2006-02-07 11:20:50 +00:00
parent 85c0440ae9
commit 1c044d06a6

View file

@ -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;
}
}