mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 23:36:13 +08:00
2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb: Use public API not _TOD_Microseconds_per_tick.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* rtems.adb: Use public API not _TOD_Microseconds_per_tick.
|
||||
|
||||
2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1345/Ada
|
||||
|
||||
+2
-2
@@ -70,8 +70,8 @@ package body RTEMS is
|
||||
function Microseconds_To_Ticks (
|
||||
Microseconds : RTEMS.Unsigned32
|
||||
) return RTEMS.Interval is
|
||||
Microseconds_Per_Tick : RTEMS.Interval;
|
||||
pragma Import (C, Microseconds_Per_Tick, "_TOD_Microseconds_per_tick");
|
||||
function Microseconds_Per_Tick return RTEMS.Unsigned32;
|
||||
pragma Import (C, Microseconds_Per_Tick, "_ada_microseconds_per_tick");
|
||||
begin
|
||||
|
||||
return Microseconds / Microseconds_Per_Tick;
|
||||
|
||||
Reference in New Issue
Block a user