diff options
| author | Dan Halbert <halbert@halwitz.org> | 2018-04-09 12:52:42 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2018-04-09 12:52:42 -0400 |
| commit | aa8c262d141d78c148a89de63b54623ad2592e0e (patch) | |
| tree | 3c79429cc76896f7070f968e631bab81fbb8dbdf /main.c | |
| parent | 4e053cea0df0105e05052087077b2431cad26718 (diff) | |
add storage.erase_filesystem() to erase and reformat CIRCUITPY
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |
