diff --git a/os/rt/src/chmtx.c b/os/rt/src/chmtx.c index 9f13f7209..270732297 100644 --- a/os/rt/src/chmtx.c +++ b/os/rt/src/chmtx.c @@ -150,7 +150,7 @@ void chMtxLockS(mutex_t *mp) { /* If the mutex is already owned by this thread, the counter is increased and there is no need of more actions.*/ - if (mp->owner == ctp) { + if (mp->owner == currtp) { mp->cnt++; } else { diff --git a/readme.txt b/readme.txt index 477f0ea3a..dfd3ba72f 100644 --- a/readme.txt +++ b/readme.txt @@ -74,6 +74,7 @@ ***************************************************************************** *** Next *** +- FIX: Fix incorrect variable name in recursive mutex handling (bug #1119) - NEW: Simplified USART units use collision detection in STM32 HAL, now it is done like for TIM units for consistency. - NEW: Identification macros such as__CHIBIOS_RT__ are now prefixed by