diff options
-rw-r--r-- | src/task.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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(¶ms); | ||
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; |