1
0
forked from fsfw/fsfw

mutex helper api change

This commit is contained in:
2020-08-07 22:15:03 +02:00
parent 458e849f7d
commit 979fea3400
6 changed files with 23 additions and 16 deletions

View File

@ -7,7 +7,7 @@
class MutexHelper {
public:
MutexHelper(MutexIF* mutex, MutexIF::TimeoutType timeoutType =
MutexIF::TimeoutType::BLOCKING, uint32_t timeoutMs) :
MutexIF::TimeoutType::BLOCKING, uint32_t timeoutMs = 0) :
internalMutex(mutex) {
ReturnValue_t status = mutex->lockMutex(timeoutType,
timeoutMs);