mirror of https://github.com/ARMmbed/mbed-os.git
1da259af3b
Remove the critical section in mbed_rtc_time.c and instead use a mutex to protect this. This function does not need to be interrupt safe, just thread safe. This fixes crashes on the GCC_ARM toolchain on the RTC test due to trying to lock the GCC environment mutex while in a critical section. Prior to this patch, this failure was likely to occur on STM and LPC processor families. |
||
---|---|---|
.. | ||
api | ||
common | ||
hal | ||
targets | ||
.yotta_ignore | ||
CMakeLists.txt | ||
module.json | ||
targets.json |