Fix up filesystem safe mode comment

This commit is contained in:
Scott Shawcroft 2022-01-06 14:36:16 -08:00
parent fa272f5a70
commit 5256748b1b
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
1 changed files with 2 additions and 1 deletions

3
main.c
View File

@ -812,7 +812,8 @@ int __attribute__((used)) main(void) {
// A power brownout here could make it appear as if there's // A power brownout here could make it appear as if there's
// no SPI flash filesystem, and we might erase the existing one. // no SPI flash filesystem, and we might erase the existing one.
// 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
// since we haven't run user code yet.
if (!filesystem_init(safe_mode == NO_SAFE_MODE, false)) { if (!filesystem_init(safe_mode == NO_SAFE_MODE, false)) {
safe_mode = NO_CIRCUITPY; safe_mode = NO_CIRCUITPY;
} }