Skip to content

Commit 5256748

Browse files
committed
Fix up filesystem safe mode comment
1 parent fa272f5 commit 5256748

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,8 @@ int __attribute__((used)) main(void) {
812812
// A power brownout here could make it appear as if there's
813813
// no SPI flash filesystem, and we might erase the existing one.
814814

815-
// Check whether CIRCUITPY is available. Don't check if it already hasn't been found.
815+
// Check whether CIRCUITPY is available. No need to reset to get safe mode
816+
// since we haven't run user code yet.
816817
if (!filesystem_init(safe_mode == NO_SAFE_MODE, false)) {
817818
safe_mode = NO_CIRCUITPY;
818819
}

0 commit comments

Comments
 (0)