summaryrefslogtreecommitdiffstats
path: root/c/src/librtems++/include/rtems++/rtemsEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/librtems++/include/rtems++/rtemsEvent.h')
-rw-r--r--c/src/librtems++/include/rtems++/rtemsEvent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/librtems++/include/rtems++/rtemsEvent.h b/c/src/librtems++/include/rtems++/rtemsEvent.h
index e35d802670..6c4b60a879 100644
--- a/c/src/librtems++/include/rtems++/rtemsEvent.h
+++ b/c/src/librtems++/include/rtems++/rtemsEvent.h
@@ -114,7 +114,7 @@ const rtems_status_code rtemsEvent::receive(const rtems_event_set event_in,
rtems_configuration_get_microseconds_per_tick() : micro_secs;
set_status_code(rtems_event_receive(event_in,
wait | condition,
- TOD_MICROSECONDS_TO_TICKS(usecs),
+ RTEMS_MICROSECONDS_TO_TICKS(usecs),
&event_out));
return last_status_code();
}