Commit 4f954a03 authored by jdelange's avatar jdelange

Fix compilation issues with Xenomai



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@5406 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent a272d7ac
......@@ -477,7 +477,7 @@ int __po_hi_create_periodic_task (const __po_hi_task_id id,
ret = rt_task_set_periodic (&(tasks[id].xeno_id), TM_NOW, (tasks[id].period.sec * 1000000000) + tasks[id].period.nsec);
if (ret != 0)
{
__DEBUGMSG ("ERROR when calling rt_task_set_periodic on task %d, ret=%d, period=%lu\n", id, ret, (unsigned long)tasks[id].period);
__DEBUGMSG ("ERROR when calling rt_task_set_periodic on task %d, ret=%d\n", id, ret);
return (__PO_HI_ERROR_CLOCK);
}
......@@ -517,7 +517,7 @@ int __po_hi_create_sporadic_task (const __po_hi_task_id id,
ret = rt_task_set_periodic (&(tasks[id].xeno_id), TM_NOW, tasks[id].period.sec * 1000000000 + tasks[id].period.nsec);
if (ret != 0)
{
__DEBUGMSG ("ERROR when calling rt_task_set_periodic on task %d, ret=%d, period=%lu\n", id, ret, (unsigned long)tasks[id].period);
__DEBUGMSG ("ERROR when calling rt_task_set_periodic on task %d, ret=%d\n", id, ret);
return (__PO_HI_ERROR_CLOCK);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment