diff options
Diffstat (limited to 'apps/plugins/battery_bench.c')
-rw-r--r-- | apps/plugins/battery_bench.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c index fff3c2fa57..6e3178237f 100644 --- a/apps/plugins/battery_bench.c +++ b/apps/plugins/battery_bench.c | |||
@@ -479,7 +479,8 @@ int main(void) | |||
479 | rb->queue_init(&thread_q, true); /* put the thread's queue in the bcast list */ | 479 | rb->queue_init(&thread_q, true); /* put the thread's queue in the bcast list */ |
480 | if(rb->create_thread(thread, thread_stack, | 480 | if(rb->create_thread(thread, thread_stack, |
481 | sizeof(thread_stack), "Battery Benchmark" | 481 | sizeof(thread_stack), "Battery Benchmark" |
482 | IF_PRIO(, PRIORITY_BACKGROUND)) == NULL) | 482 | IF_PRIO(, PRIORITY_BACKGROUND) |
483 | IF_COP(, CPU, false)) == NULL) | ||
483 | { | 484 | { |
484 | rb->splash(HZ,true,"Cannot create thread!"); | 485 | rb->splash(HZ,true,"Cannot create thread!"); |
485 | return PLUGIN_ERROR; | 486 | return PLUGIN_ERROR; |