reset flush timer on call to filesystem_flush()

This commit is contained in:
Dan Halbert 2019-03-25 20:42:08 -04:00
parent 2459eabd66
commit 2229f17911

View File

@ -115,6 +115,8 @@ void filesystem_init(bool create_allowed, bool force_create) {
}
void filesystem_flush(void) {
// Reset interval before next flush.
filesystem_flush_interval_ms = CIRCUITPY_FILESYSTEM_FLUSH_INTERVAL_MS;
supervisor_flash_flush();
}