1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp32/freertos
JulianHolzwarth e1d4551459 cpu/esp32/freertos/semphr.c::xSemaphoreTakeRecursive() return value fix
xSemaphoreTakeRecursive() returned before the fix: pdFALSE(equal to pdFAIL) when the call was successful in obtaining the semaphore
and pdTRUE(equal to pdPASS) when the call did not successfully obtain the semaphore.
According to freertos documentation:
"pdPASS Returned only if the call to xSemaphoreTakeRecursive() was successful in obtaining the semaphore"
"pdFAIL Returned if the call to xSemaphoreTakeRecursive() did not successfully obtain the semaphore."
Fixed it to return the correct value.
2019-03-27 15:54:30 +01:00
..
event_groups.c cpu: add esp32 2018-10-08 12:20:49 +02:00
Makefile cpu: add esp32 2018-10-08 12:20:49 +02:00
portable.c cpu: add esp32 2018-10-08 12:20:49 +02:00
queue.c cpu: add esp32 2018-10-08 12:20:49 +02:00
semphr.c cpu/esp32/freertos/semphr.c::xSemaphoreTakeRecursive() return value fix 2019-03-27 15:54:30 +01:00
task.c cpu: add esp32 2018-10-08 12:20:49 +02:00
timers.c cpu: add esp32 2018-10-08 12:20:49 +02:00