Skip to content

Commit

Permalink
Mutex: _count incrementation brought back
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominika Maziec committed Aug 27, 2019
1 parent 7e179f5 commit b5826fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rtos/source/Mutex.cpp
Expand Up @@ -97,6 +97,7 @@ bool Mutex::trylock_for(uint32_t millisec)
{
osStatus status = osMutexAcquire(_id, millisec);
if (status == osOK) {
_count++;
return true;
}

Expand Down

0 comments on commit b5826fc

Please sign in to comment.