summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-06-22 14:09:07 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-06-22 14:09:07 +0000
commitfcc282c48a7b9fad5ebacf4515754b8544e20cbe (patch)
treec459db30ffc6bf1d5f576808dba53d880b2d7a49 /apps
parentb5a0f70e5b871005e2b529dbf696fbddc3451c1e (diff)
OOps, bad handling of tick_remove_task()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6806 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 6d21637090..5f763dbd2b 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -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;