You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LittleFS timestamp last write is also changed after a file is only read.
Easy to test with example LittleFS_Timestamp.
Place a delay (60000) for the last lines with:
readFile ("/ hello.txt"); listDir ("/");
The text was updated successfully, but these errors were encountered:
NicoZuid
changed the title
LittleFS timetamp last write is also changed after a file is only read.
LittleFS timestamp last write is also changed after a file is only read.
Dec 28, 2019
Fixesesp8266#6955
LittleFS was updating the timestamp on any close, not only for files
when they were opened for writing. This could lead to excessive writes
to the flash.
Preserve the LFS flags, and only update the timestamp if the file was
opened for writing.
Fixes#6955
LittleFS was updating the timestamp on any close, not only for files
when they were opened for writing. This could lead to excessive writes
to the flash.
Preserve the LFS flags, and only update the timestamp if the file was
opened for writing.
LittleFS timestamp last write is also changed after a file is only read.
Easy to test with example LittleFS_Timestamp.
Place a delay (60000) for the last lines with:
readFile ("/ hello.txt"); listDir ("/");
The text was updated successfully, but these errors were encountered: