using nullptr now

added new distinction between blocking (MAX_TIMEOUT) and polling
(NO_TIMEOUT)
This commit is contained in:
2020-05-29 14:15:45 +02:00
parent 6a3dc94108
commit f14bacba32
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;