summaryrefslogtreecommitdiffstats
path: root/c/src/librtems++/include/rtems++/rtemsTimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/librtems++/include/rtems++/rtemsTimer.h')
-rw-r--r--c/src/librtems++/include/rtems++/rtemsTimer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/librtems++/include/rtems++/rtemsTimer.h b/c/src/librtems++/include/rtems++/rtemsTimer.h
index cf6b76ab97..e106b7d1ec 100644
--- a/c/src/librtems++/include/rtems++/rtemsTimer.h
+++ b/c/src/librtems++/include/rtems++/rtemsTimer.h
@@ -98,7 +98,7 @@ const rtems_status_code rtemsTimer::fire_after(const rtems_interval micro_secs)
(micro_secs < rtems_configuration_get_microseconds_per_tick()) ?
rtems_configuration_get_microseconds_per_tick() : micro_secs;
return set_status_code(rtems_timer_fire_after(id,
- TOD_MICROSECONDS_TO_TICKS(usecs),
+ RTEMS_MICROSECONDS_TO_TICKS(usecs),
common_handler,
this));
}
@@ -110,7 +110,7 @@ const rtems_status_code rtemsTimer::repeat_fire_at(const rtems_interval micro_se
(micro_secs < rtems_configuration_get_microseconds_per_tick()) ?
rtems_configuration_get_microseconds_per_tick() : micro_secs;
return set_status_code(rtems_timer_fire_after(id,
- TOD_MICROSECONDS_TO_TICKS(usecs),
+ RTEMS_MICROSECONDS_TO_TICKS(usecs),
common_handler,
this));
}