forked from len0rd/rockbox
Debug menu->View runtime: Ignore release events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5293 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3ccbb165c1
commit
dcd4883072
1 changed files with 2 additions and 2 deletions
|
@ -1244,7 +1244,7 @@ static bool view_runtime(void)
|
|||
lcd_puts(0,1,"PLAY = Yes");
|
||||
lcd_update();
|
||||
while (1) {
|
||||
key = button_get_w_tmo(HZ*10);
|
||||
key = button_get(true);
|
||||
if ( key == SETTINGS_OK ) {
|
||||
if ( state == 1 )
|
||||
global_settings.runtime = 0;
|
||||
|
@ -1252,7 +1252,7 @@ static bool view_runtime(void)
|
|||
global_settings.topruntime = 0;
|
||||
break;
|
||||
}
|
||||
if ( key & BUTTON_REL )
|
||||
if (!(key & BUTTON_REL)) /* ignore button releases */
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue