diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2018-02-12 23:41:26 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2018-02-12 23:41:26 -0800 |
| commit | cc616aea4e8553e1e92fc402dda64ce67a12b519 (patch) | |
| tree | e849a31b43f701f8a593a4fbabe84654e0d1027a /main.c | |
| parent | 0397202288b5e883f4306cb8962019bf0dd473f1 (diff) | |
m4 tc output works. Watch out for the PAC!
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -153,6 +153,10 @@ bool start_mp(safe_mode_t safe_mode) { serial_write(MSG_DOUBLE_FILE_EXTENSION); } } + + reset_port(); + reset_board(); + reset_mp(); reset_status_led(); if (result.return_code & PYEXEC_FORCED_EXIT) { @@ -314,9 +318,6 @@ int __attribute__((used)) main(void) { } first_run = false; skip_repl = start_mp(safe_mode); - reset_port(); - reset_board(); - reset_mp(); } else if (exit_code != 0) { break; } |
