addd new timeout value

This commit is contained in:
2020-05-29 14:16:44 +02:00
parent 2eba865564
commit 896e7f15dc
3 changed files with 13 additions and 9 deletions

View File

@ -18,7 +18,7 @@ class Mutex : public MutexIF {
public:
Mutex();
~Mutex();
ReturnValue_t lockMutex(uint32_t timeoutMs) override;
ReturnValue_t lockMutex(uint32_t timeoutMs = MutexIF::MAX_TIMEOUT) override;
ReturnValue_t unlockMutex() override;
private:
SemaphoreHandle_t handle;