diff --git a/miosix/kernel/sync.h b/miosix/kernel/sync.h index bc48521513cda8f897e8e61dbb11b9df42223f0f..af1c979f38b211f4203b50bbfb595867b6826fb0 100644 --- a/miosix/kernel/sync.h +++ b/miosix/kernel/sync.h @@ -444,9 +444,9 @@ public: * \return whether the return was due to a timout or wakeup */ template<typename T> - TimedWaitResult wait(Lock<T>& l, long long absTime) + TimedWaitResult timedWait(Lock<T>& l, long long absTime) { - return timedWait(l.get()); + return timedWait(l.get(),absTime); } /**