We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f7f471f + de20c41 commit db84e81Copy full SHA for db84e81
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