summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-04-10 10:26:07 -0700
committerGitHub <noreply@github.com>2018-04-10 10:26:07 -0700
commitf02cbeabab3091c70a9d40b6a9f9bea3516b2eec (patch)
tree654a7b6ed069c52d598bcfadcde82db0e9f5d67c /main.c
parenta0cd94c18470a30299fdd0456ef639788fe12810 (diff)
parenteaa9923a8fc2eee6648bf6f839a88ae1e0e72a7f (diff)
Merge pull request #747 from dhalbert/reformat3.0.0-alpha.4
add storage.erase_filesystem() to erase and reformat CIRCUITPY
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 0ad050608..b88fd735b 100644
--- a/main.c
+++ b/main.c
@@ -245,7 +245,7 @@ int __attribute__((used)) main(void) {
// Create a new filesystem only if we're not in a safe mode.
// A power brownout here could make it appear as if there's
// no SPI flash filesystem, and we might erase the existing one.
- filesystem_init(safe_mode == NO_SAFE_MODE);
+ filesystem_init(safe_mode == NO_SAFE_MODE, false);
// Reset everything and prep MicroPython to run boot.py.
reset_port();