From 4bbe879c2668e5fd81f266a0779387337858cbf9 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Mon, 7 Aug 2023 11:20:12 +1000 Subject: [PATCH] tools/mpremote: Make soft-reset count as an action. Otherwise `mpremote soft-reset` will implicitly run the repl command. Fixes issue #10871. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared --- tools/mpremote/mpremote/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/mpremote/mpremote/commands.py b/tools/mpremote/mpremote/commands.py index de12aa0bb1..aae612765b 100644 --- a/tools/mpremote/mpremote/commands.py +++ b/tools/mpremote/mpremote/commands.py @@ -238,6 +238,7 @@ def do_resume(state, _args=None): def do_soft_reset(state, _args=None): state.ensure_raw_repl(soft_reset=True) + state.did_action() def do_rtc(state, args):