We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24a8927 commit de20c41Copy full SHA for de20c41
1 file changed
shared-module/storage/__init__.c
@@ -264,6 +264,7 @@ void common_hal_storage_erase_filesystem(bool extended) {
264
supervisor_flash_set_extended(extended);
265
#endif
266
(void)filesystem_init(false, true); // Force a re-format. Ignore failure.
267
+ common_hal_mcu_on_next_reset(RUNMODE_NORMAL);
268
common_hal_mcu_reset();
269
// We won't actually get here, since we're resetting.
270
}
0 commit comments