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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c
index 7889f551a4..dfe9632f7b 100644
--- a/apps/plugins/battery_bench.c
+++ b/apps/plugins/battery_bench.c
@@ -215,7 +215,7 @@ void thread(void)
215#endif 215#endif
216 long sleep_time = 5 * HZ; 216 long sleep_time = 5 * HZ;
217 217
218 struct event ev; 218 struct queue_event ev;
219 219
220 buffelements = sizeof(bat)/sizeof(struct batt_info); 220 buffelements = sizeof(bat)/sizeof(struct batt_info);
221 221
@@ -500,9 +500,9 @@ int main(void)
500 500
501 rb->queue_init(&thread_q, true); /* put the thread's queue in the bcast list */ 501 rb->queue_init(&thread_q, true); /* put the thread's queue in the bcast list */
502 if(rb->create_thread(thread, thread_stack, 502 if(rb->create_thread(thread, thread_stack,
503 sizeof(thread_stack), "Battery Benchmark" 503 sizeof(thread_stack), 0, "Battery Benchmark"
504 IF_PRIO(, PRIORITY_BACKGROUND) 504 IF_PRIO(, PRIORITY_BACKGROUND)
505 IF_COP(, CPU, false)) == NULL) 505 IF_COP(, CPU)) == NULL)
506 { 506 {
507 rb->splash(HZ, "Cannot create thread!"); 507 rb->splash(HZ, "Cannot create thread!");
508 return PLUGIN_ERROR; 508 return PLUGIN_ERROR;