Skip to content

Commit df4ee3a

Browse files
committed
Clean LittleFS on boot
1 parent 381d027 commit df4ee3a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/fs/FS.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ void FS::Init() {
4444
return;
4545
}
4646
}
47+
// Clean filesystem on boot
48+
lfs_fs_gc(&lfs);
4749

4850
#ifndef PINETIME_IS_RECOVERY
4951
VerifyResource();

0 commit comments

Comments
 (0)