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:
Linus Nielsen Feltzing 2005-06-22 14:09:07 +00:00
parent b5a0f70e5b
commit fcc282c48a

View file

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