From 8f3e20ff960a116d074bda3a160419d23231ebe2 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Sun, 26 Feb 2023 23:18:59 -0500 Subject: [PATCH] Merge pull request #7652 from xorbit/fix_soft_reboot_marker Fix print of "soft reboot" when the user presses ^D --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index d70e718b6d..16353678d2 100644 --- a/main.c +++ b/main.c @@ -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