Skip to content

Commit dec3cfc

Browse files
authored
Merge pull request adafruit#7652 from xorbit/fix_soft_reboot_marker
Fix print of "soft reboot" when the user presses ^D
2 parents 7ac2011 + 4c9044a commit dec3cfc

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
@@ -1087,6 +1087,7 @@ int __attribute__((used)) main(void) {
10871087
if (!simulate_reset) {
10881088
serial_write_compressed(translate("soft reboot\n"));
10891089
}
1090+
simulate_reset = false;
10901091
if (pyexec_mode_kind == PYEXEC_MODE_FRIENDLY_REPL) {
10911092
// If code.py did a fake deep sleep, pretend that we
10921093
// are running code.py for the first time after a hard

0 commit comments

Comments
 (0)