OOps, bad handling of tick_remove_task()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6806 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b5a0f70e5b
commit
fcc282c48a
1 changed files with 4 additions and 2 deletions
|
@ -226,6 +226,7 @@ bool dbg_audio_thread(void)
|
|||
char buf[32];
|
||||
int button;
|
||||
int line;
|
||||
bool done = false;
|
||||
|
||||
ticks = boost_ticks = 0;
|
||||
|
||||
|
@ -233,13 +234,14 @@ bool dbg_audio_thread(void)
|
|||
|
||||
lcd_setmargins(0, 0);
|
||||
|
||||
while(1)
|
||||
while(!done)
|
||||
{
|
||||
button = button_get_w_tmo(HZ/5);
|
||||
switch(button)
|
||||
{
|
||||
case SETTINGS_CANCEL:
|
||||
return false;
|
||||
done = true;
|
||||
break;
|
||||
}
|
||||
|
||||
line = 0;
|
||||
|
|
Loading…
Reference in a new issue