mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(spi_flash): Fixed minor issue with esp flash test
This commit is contained in:
parent
3f88247a45
commit
a00335ac62
@ -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]);
|
||||
for (int i = 0; i < task_count; ++i) {
|
||||
xSemaphoreTake(done, portMAX_DELAY);
|
||||
}
|
||||
for (int i = 0; i < task_count; ++i) {
|
||||
TEST_ASSERT_FALSE(ctx[i].fail);
|
||||
}
|
||||
vSemaphoreDelete(done);
|
||||
|
Loading…
x
Reference in New Issue
Block a user