Merge pull request #491 from funnydog/fixes

Fix the SPIFFS POSIX API (#489)
This commit is contained in:
Ruslan V. Uss 2017-12-02 14:41:41 +05:00 committed by GitHub
commit 3214c13fbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ void esp_spiffs_init(uint32_t addr, uint32_t size)
config.hal_write_f = esp_spiffs_write;
config.hal_erase_f = esp_spiffs_erase;
config.fh_ix_offset = 3;
config.fh_ix_offset = SPIFFS_FILEHDL_OFFSET;
}