Commit 6887e156 authored by Julien's avatar Julien

Fix the schedule generation issue for VxWorks653

parent f5e34296
......@@ -181,8 +181,9 @@ package body Ocarina.Backends.Vxworks653_Conf.Schedule is
--
Partition_Duration :=
(Long_Double
(To_Milliseconds
(Module_Schedule (J).Duration)) / Long_Double (1000.0));
(To_Nanoseconds
(Module_Schedule (J).Duration))
/ Long_Double (1_000_000_000.0));
XTU.Add_Attribute ("Duration",
XV.New_Floating_Point_Value (Partition_Duration),
Partition_Window_Node);
......
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