summaryrefslogtreecommitdiff
path: root/apps/plugins/battery_bench.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-09-28 11:12:45 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-09-28 11:12:45 +0000
commitd7cb90722f2cbda4c10c1552248a54633d30820c (patch)
tree99521bf3557f7ad9f59d7084f84658afa91deb8d /apps/plugins/battery_bench.c
parenta13a1d5492ce30c51f4b2277819d2a6736705c90 (diff)
downloadrockbox-d7cb90722f2cbda4c10c1552248a54633d30820c.tar.gz
rockbox-d7cb90722f2cbda4c10c1552248a54633d30820c.zip
Get the plugins synced up with the threading changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14881 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/battery_bench.c')
-rw-r--r--apps/plugins/battery_bench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c
index 43bfc7255f..a938fea1ba 100644
--- a/apps/plugins/battery_bench.c
+++ b/apps/plugins/battery_bench.c
@@ -332,7 +332,7 @@ void thread(void)
332 "bench exit"); 332 "bench exit");
333#endif 333#endif
334 thread_stopped = true; 334 thread_stopped = true;
335 rb->remove_thread(NULL); /* Suicide. Never returns. */ 335 return;
336 } 336 }
337 337
338 rb->queue_wait_w_tmo(&thread_q, &ev, sleep_time); 338 rb->queue_wait_w_tmo(&thread_q, &ev, sleep_time);