The methods TimerComponent::wait(timerId, seconds) and TimerComponent::waitFor(timerId) are not implemented at the moment. wait (TimerComponent.cpp:61) only arms the timer and waitFor (TimerComponent.cpp:66) simply returns true immediately. Both functions do not wait until the timer is expired.
RTT::os::Timer should have a waitFor() implementation and an internal condition variable.
The methods
TimerComponent::wait(timerId, seconds)
andTimerComponent::waitFor(timerId)
are not implemented at the moment.wait
(TimerComponent.cpp:61) only arms the timer andwaitFor
(TimerComponent.cpp:66) simply returns true immediately. Both functions do not wait until the timer is expired.RTT::os::Timer
should have awaitFor()
implementation and an internal condition variable.