Skip to content

Commit db84e81

Browse files
authored
Merge pull request #9786 from bill88t/main
2 parents f7f471f + de20c41 commit db84e81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shared-module/storage/__init__.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ void common_hal_storage_erase_filesystem(bool extended) {
264264
supervisor_flash_set_extended(extended);
265265
#endif
266266
(void)filesystem_init(false, true); // Force a re-format. Ignore failure.
267+
common_hal_mcu_on_next_reset(RUNMODE_NORMAL);
267268
common_hal_mcu_reset();
268269
// We won't actually get here, since we're resetting.
269270
}

0 commit comments

Comments
 (0)