Skip to content

Commit 8f3e20f

Browse files
committed
Merge pull request #7652 from xorbit/fix_soft_reboot_marker
Fix print of "soft reboot" when the user presses ^D
1 parent c7f485d commit 8f3e20f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,7 @@ int __attribute__((used)) main(void) {
10121012
if (!simulate_reset) {
10131013
serial_write_compressed(translate("soft reboot\n"));
10141014
}
1015+
simulate_reset = false;
10151016
if (pyexec_mode_kind == PYEXEC_MODE_FRIENDLY_REPL) {
10161017
// If code.py did a fake deep sleep, pretend that we
10171018
// are running code.py for the first time after a hard

0 commit comments

Comments
 (0)