mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Merge branch 'fix/lightsleep_stress_task_leak_v5.5' into 'release/v5.5'
fix(esp_system): wait for idle after light sleep stress tasks (v5.5) See merge request espressif/esp-idf!52271
This commit is contained in:
@@ -98,6 +98,7 @@ TEST_CASE("light sleep stress test", "[lightsleep]")
|
||||
xSemaphoreTake(done, portMAX_DELAY);
|
||||
#endif
|
||||
vSemaphoreDelete(done);
|
||||
vTaskDelay(10);
|
||||
}
|
||||
|
||||
static void timer_func(void* arg)
|
||||
@@ -126,6 +127,7 @@ TEST_CASE("light sleep stress test with periodic esp_timer", "[lightsleep]")
|
||||
vSemaphoreDelete(done);
|
||||
esp_timer_stop(timer);
|
||||
esp_timer_delete(timer);
|
||||
vTaskDelay(10);
|
||||
}
|
||||
#endif // !(CONFIG_SPIRAM) || (CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL >= 16384)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user