summaryrefslogtreecommitdiff
path: root/lib/timeutils/timeutils.h
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-01-28 13:09:44 +1100
committerDamien George <damien@micropython.org>2021-01-29 15:02:55 +1100
commit71ea438561b737de7d4bb6bc60412a7e409cf298 (patch)
treeb819b41d8d03997a834ca14ea36fb85552b5acc3 /lib/timeutils/timeutils.h
parent4eaebc1988699db6ebfd35fbe56a3e8d4cd0b373 (diff)
extmod/vfs: Check block 0 and 1 when auto-detecting littlefs.
The superblock for littlefs is in block 0 and 1, but block 0 may be erased or partially written, so block 1 must be checked if block 0 does not have a valid littlefs superblock in it. Prior to this commit, the mount of a block device which auto-detected the filysystem type would fail for littlefs if block 0 did not contain a valid superblock. That is now fixed. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'lib/timeutils/timeutils.h')
0 files changed, 0 insertions, 0 deletions