aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/task.c b/src/task.c
index 35bad66..cd78aa9 100644
--- a/src/task.c
+++ b/src/task.c
@@ -44,6 +44,7 @@ int __create_rt_task(rt_fn_t rt_prog, void *arg, int cluster,
44 lt_t wcet, lt_t period, unsigned int priority, task_class_t class) 44 lt_t wcet, lt_t period, unsigned int priority, task_class_t class)
45{ 45{
46 struct rt_task params; 46 struct rt_task params;
47 init_rt_task_param(&params);
47 params.cpu = domain_to_first_cpu(cluster); 48 params.cpu = domain_to_first_cpu(cluster);
48 params.period = period; 49 params.period = period;
49 params.exec_cost = wcet; 50 params.exec_cost = wcet;