From: Vincent Guittot vincent.guittot@linaro.org
Signed-off-by: Vincent Guittot vincent.guittot@linaro.org --- src/rt-app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rt-app.c b/src/rt-app.c index 3cc2000..b305e96 100644 --- a/src/rt-app.c +++ b/src/rt-app.c @@ -247,7 +247,7 @@ void *thread_body(void *arg) attr.sched_priority = 0; attr.sched_runtime = timespec_to_nsec(&data->max_et) + (timespec_to_nsec(&data->max_et) /100) * BUDGET_OVERP; - attr.sched_deadline = timespec_to_nsec(&data->period); + attr.sched_deadline = timespec_to_nsec(&data->deadline); attr.sched_period = timespec_to_nsec(&data->period); break; #endif