From aa8c262d141d78c148a89de63b54623ad2592e0e Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Mon, 9 Apr 2018 12:52:42 -0400 Subject: add storage.erase_filesystem() to erase and reformat CIRCUITPY --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') 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(); -- cgit v1.2.3