summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-03-16 17:44:25 -0400
committerDan Halbert <halbert@halwitz.org>2019-03-16 17:44:25 -0400
commita10e4fe21efd45596b82b50ffde98e8ec7e893c6 (patch)
tree2bbc42dfe2b4ec86b93082c6d61bb9ecc942ad95 /main.c
parent43915133a1e7c682cdae313273060379f1f029b2 (diff)
also flush fileystem on soft reboot from repl
Diffstat (limited to 'main.c')
-rwxr-xr-xmain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 9b0da5f54..77498d7de 100755
--- a/main.c
+++ b/main.c
@@ -376,6 +376,7 @@ int run_repl(void) {
} else {
exit_code = pyexec_friendly_repl();
}
+ filesystem_flush();
reset_port();
reset_board();
stop_mp();