summaryrefslogtreecommitdiff
path: root/apps/plugins/battery_bench.c
diff options
context:
space:
mode:
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 7e439cbd53..bf0c2f32dd 100644
--- a/apps/plugins/battery_bench.c
+++ b/apps/plugins/battery_bench.c
@@ -141,7 +141,7 @@ bool exit_tsr(bool reenter)
141 exit = false; 141 exit = false;
142 if (exit) 142 if (exit)
143 { 143 {
144 rb->queue_post(&thread_q, EV_EXIT, NULL); 144 rb->queue_post(&thread_q, EV_EXIT, 0);
145 while (!s_thread.ended) 145 while (!s_thread.ended)
146 rb->yield(); 146 rb->yield();
147 /* remove the thread's queue from the broadcast list */ 147 /* remove the thread's queue from the broadcast list */