mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 05:34:32 +02:00
Merge branch 'bugfix/fix-in-esp-flash-test' into 'master'
fix(spi_flash): Fixed minor issue with esp flash test See merge request espressif/esp-idf!25971
This commit is contained in:
@@ -114,6 +114,8 @@ TEST_CASE("flash write and erase work both on PRO CPU and on APP CPU", "[spi_fla
|
|||||||
const size_t task_count = sizeof(ctx)/sizeof(ctx[0]);
|
const size_t task_count = sizeof(ctx)/sizeof(ctx[0]);
|
||||||
for (int i = 0; i < task_count; ++i) {
|
for (int i = 0; i < task_count; ++i) {
|
||||||
xSemaphoreTake(done, portMAX_DELAY);
|
xSemaphoreTake(done, portMAX_DELAY);
|
||||||
|
}
|
||||||
|
for (int i = 0; i < task_count; ++i) {
|
||||||
TEST_ASSERT_FALSE(ctx[i].fail);
|
TEST_ASSERT_FALSE(ctx[i].fail);
|
||||||
}
|
}
|
||||||
vSemaphoreDelete(done);
|
vSemaphoreDelete(done);
|
||||||
|
Reference in New Issue
Block a user