mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-11 21:10:05 +01:00
IDF FreeRTOS uses vTaskSuspendAll()/xTaskResumeAll() to stop preemption on a particular core. However, those functions behave differently in FreeRTOS SMP. This commit replaces all calls of vTaskSuspendAll()/xTaskResumeAll() with vTaskPreemptionDisable()/vTaskPreemptionEnable() when compiling with SMP FreeRTOS.
3.4 KiB
3.4 KiB