Fixed bug #1119
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13818 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
61b839a7c6
commit
f87d680ab7
|
@ -150,7 +150,7 @@ void chMtxLockS(mutex_t *mp) {
|
||||||
|
|
||||||
/* If the mutex is already owned by this thread, the counter is increased
|
/* If the mutex is already owned by this thread, the counter is increased
|
||||||
and there is no need of more actions.*/
|
and there is no need of more actions.*/
|
||||||
if (mp->owner == ctp) {
|
if (mp->owner == currtp) {
|
||||||
mp->cnt++;
|
mp->cnt++;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -74,6 +74,7 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** Next ***
|
*** 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
|
- NEW: Simplified USART units use collision detection in STM32 HAL, now it is
|
||||||
done like for TIM units for consistency.
|
done like for TIM units for consistency.
|
||||||
- NEW: Identification macros such as__CHIBIOS_RT__ are now prefixed by
|
- NEW: Identification macros such as__CHIBIOS_RT__ are now prefixed by
|
||||||
|
|
Loading…
Reference in New Issue