mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +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);
|
xSemaphoreTake(done, portMAX_DELAY);
|
||||||
#endif
|
#endif
|
||||||
vSemaphoreDelete(done);
|
vSemaphoreDelete(done);
|
||||||
|
vTaskDelay(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void timer_func(void* arg)
|
static void timer_func(void* arg)
|
||||||
@@ -126,6 +127,7 @@ TEST_CASE("light sleep stress test with periodic esp_timer", "[lightsleep]")
|
|||||||
vSemaphoreDelete(done);
|
vSemaphoreDelete(done);
|
||||||
esp_timer_stop(timer);
|
esp_timer_stop(timer);
|
||||||
esp_timer_delete(timer);
|
esp_timer_delete(timer);
|
||||||
|
vTaskDelay(10);
|
||||||
}
|
}
|
||||||
#endif // !(CONFIG_SPIRAM) || (CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL >= 16384)
|
#endif // !(CONFIG_SPIRAM) || (CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL >= 16384)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user