diff options
Diffstat (limited to 'c/src/librtems++/include/rtems++/rtemsSemaphore.h')
-rw-r--r-- | c/src/librtems++/include/rtems++/rtemsSemaphore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/librtems++/include/rtems++/rtemsSemaphore.h b/c/src/librtems++/include/rtems++/rtemsSemaphore.h index cadf4288b8..31f0c96baf 100644 --- a/c/src/librtems++/include/rtems++/rtemsSemaphore.h +++ b/c/src/librtems++/include/rtems++/rtemsSemaphore.h @@ -135,7 +135,7 @@ const rtems_status_code rtemsSemaphore::obtain(const bool wait, return set_status_code(rtems_semaphore_obtain(id, wait ? RTEMS_WAIT : RTEMS_NO_WAIT, - TOD_MICROSECONDS_TO_TICKS(usecs))); + RTEMS_MICROSECONDS_TO_TICKS(usecs))); } const rtems_status_code rtemsSemaphore::release(void) |