free rtos mutex improvements

This commit is contained in:
2020-06-04 20:12:37 +02:00
parent 896e7f15dc
commit 56340bb8b6
3 changed files with 22 additions and 9 deletions

View File

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