test(spiffs): add test case for fsync() call

This commit is contained in:
sonika.rathi
2024-07-26 12:07:14 +02:00
parent da42024bf2
commit c1adbb234b
2 changed files with 39 additions and 1 deletions

View File

@@ -628,7 +628,7 @@ static int vfs_spiffs_fsync(void* ctx, int fd)
SPIFFS_clearerr(efs->fs);
return -1;
}
return res;
return ESP_OK;
}
#ifdef CONFIG_VFS_SUPPORT_DIR