mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(spiffs): Corrected buffer size and allocation in host test
This commit is contained in:
parent
4c13bf53ea
commit
1da6a4f5fa
@ -195,7 +195,8 @@ TEST(spiffs, format_disk_open_file_write_and_read_file)
|
||||
// Generate data
|
||||
spiffs_file file = spiffs_res;
|
||||
|
||||
uint32_t data_size = 100000;
|
||||
uint32_t data_count = 5000;
|
||||
uint32_t data_size = data_count * sizeof(uint32_t);
|
||||
|
||||
char *data = (char *) malloc(data_size);
|
||||
char *read = (char *) malloc(data_size);
|
||||
|
Loading…
Reference in New Issue
Block a user