1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

Update SPIFFS to 0.2-64-g15e5618

fix some exceptions due to unaligned memory access
remove leftover changes from NodeMCU (SPIFFS_eof and SPIFFS_ftell)
This commit is contained in:
Ivan Grokhotkov
2015-08-14 01:01:47 +03:00
parent 69e68943b1
commit c363b2d4f6
9 changed files with 355 additions and 216 deletions

View File

@ -239,7 +239,7 @@ public:
size_t position() const override {
CHECKFD();
auto result = SPIFFS_tell(_fs->getFs(), _fd);
auto result = SPIFFS_lseek(_fs->getFs(), _fd, 0, SPIFFS_SEEK_CUR);
if (result < 0) {
DEBUGV("SPIFFS_tell rc=%d\r\n", result);
return 0;