We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa272f5 commit 5256748Copy full SHA for 5256748
main.c
@@ -812,7 +812,8 @@ int __attribute__((used)) main(void) {
812
// A power brownout here could make it appear as if there's
813
// no SPI flash filesystem, and we might erase the existing one.
814
815
- // Check whether CIRCUITPY is available. Don't check if it already hasn't been found.
+ // Check whether CIRCUITPY is available. No need to reset to get safe mode
816
+ // since we haven't run user code yet.
817
if (!filesystem_init(safe_mode == NO_SAFE_MODE, false)) {
818
safe_mode = NO_CIRCUITPY;
819
}
0 commit comments