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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy