Skip to content

Commit

Permalink
Merge pull request #7652 from xorbit/fix_soft_reboot_marker
Browse files Browse the repository at this point in the history
Fix print of "soft reboot" when the user presses ^D
  • Loading branch information
dhalbert committed Feb 27, 2023
1 parent c7f485d commit 8f3e20f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,7 @@ int __attribute__((used)) main(void) {
if (!simulate_reset) {
serial_write_compressed(translate("soft reboot\n"));
}
simulate_reset = false;
if (pyexec_mode_kind == PYEXEC_MODE_FRIENDLY_REPL) {
// If code.py did a fake deep sleep, pretend that we
// are running code.py for the first time after a hard
Expand Down

0 comments on commit 8f3e20f

Please sign in to comment.