diff options
Diffstat (limited to 'apps/plugins/battery_bench.c')
-rw-r--r-- | apps/plugins/battery_bench.c | 2 |
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); |