Braiden Kindt 85ea4ac0e5 stm32/main: Fix passing state.reset_mode to init_flash_fs.
state.reset_mode is updated by `MICROPY_BOARD_BEFORE_SOFT_RESET_LOOP` but
not passed to `init_flash_fs`, and so factory reset is not executed on
boards that do not have a bootloader.  This bug was introduced by
4c3976bbcaf58266fdcaab264fee5b7a94a682e5

Fixes #6903.
2021-03-10 23:50:40 +11:00
..