From b5826fc63e079b9fd7cf95906d23a36650fb93f4 Mon Sep 17 00:00:00 2001 From: Dominika Maziec Date: Tue, 27 Aug 2019 13:45:01 +0200 Subject: [PATCH] Mutex: _count incrementation brought back --- rtos/source/Mutex.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rtos/source/Mutex.cpp b/rtos/source/Mutex.cpp index 7752f6670cd..57e69f7c9eb 100644 --- a/rtos/source/Mutex.cpp +++ b/rtos/source/Mutex.cpp @@ -97,6 +97,7 @@ bool Mutex::trylock_for(uint32_t millisec) { osStatus status = osMutexAcquire(_id, millisec); if (status == osOK) { + _count++; return true; }