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:
parent
85c0440ae9
commit
1c044d06a6
1 changed files with 2 additions and 2 deletions
|
|
@ -995,8 +995,8 @@ bool dbg_ports(void)
|
||||||
button = button_get_w_tmo(HZ/10);
|
button = button_get_w_tmo(HZ/10);
|
||||||
|
|
||||||
switch(button)
|
switch(button)
|
||||||
{
|
{ /* quit on release to allow for reading the cancel button input */
|
||||||
case SETTINGS_CANCEL:
|
case (SETTINGS_CANCEL|BUTTON_REL):
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue