summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2023-08-07 11:20:12 +1000
committerDamien George <damien@micropython.org>2023-08-10 14:11:53 +1000
commit4bbe879c2668e5fd81f266a0779387337858cbf9 (patch)
treea190bfeda9cda8828e8d439717f29132380dcba0
parent232c29c2ed799a520bbdb5e4729a71ea7f0335ce (diff)
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 <jim.mussared@gmail.com>
-rw-r--r--tools/mpremote/mpremote/commands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mpremote/mpremote/commands.py b/tools/mpremote/mpremote/commands.py
index de12aa0bb..aae612765 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):