diff options
| author | Dan Halbert <halbert@halwitz.org> | 2017-10-26 22:53:28 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2017-10-27 17:32:13 -0400 |
| commit | 8e45dc041f8d98c62a580b7d6a34768664a972b8 (patch) | |
| tree | aba5c2a7cc5168882d9263971f6606761855cea9 /main.c | |
| parent | 10b3a901899c4725bf263ad4cda13c58751deccf (diff) | |
Read serial input as a background task so we can check for the interrupt character.
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -127,6 +127,7 @@ bool start_mp(safe_mode_t safe_mode) { pyexec_result_t result; bool found_main = false; + if (safe_mode != NO_SAFE_MODE) { serial_write(MSG_SAFE_MODE_NO_MAIN); } else { |
