also flush fileystem on soft reboot from repl

This commit is contained in:
Dan Halbert 2019-03-16 17:44:25 -04:00
parent 43915133a1
commit a10e4fe21e

1
main.c
View File

@ -376,6 +376,7 @@ int run_repl(void) {
} else { } else {
exit_code = pyexec_friendly_repl(); exit_code = pyexec_friendly_repl();
} }
filesystem_flush();
reset_port(); reset_port();
reset_board(); reset_board();
stop_mp(); stop_mp();