summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-04-09 12:52:42 -0400
committerDan Halbert <halbert@halwitz.org>2018-04-09 12:52:42 -0400
commitaa8c262d141d78c148a89de63b54623ad2592e0e (patch)
tree3c79429cc76896f7070f968e631bab81fbb8dbdf /main.c
parent4e053cea0df0105e05052087077b2431cad26718 (diff)
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();