Commit 6887e156 authored by Julien's avatar Julien
Browse files

Fix the schedule generation issue for VxWorks653

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