Mutex: _count incrementation brought back

pull/11348/head
Dominika Maziec 2019-08-27 13:45:01 +02:00
parent 7e179f5beb
commit b5826fc63e
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ bool Mutex::trylock_for(uint32_t millisec)
{
osStatus status = osMutexAcquire(_id, millisec);
if (status == osOK) {
_count++;
return true;
}