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>
This commit is contained in:
Jim Mussared 2023-08-07 11:20:12 +10:00 committed by Damien George
parent 232c29c2ed
commit 4bbe879c26

View File

@ -238,6 +238,7 @@ def do_resume(state, _args=None):
def do_soft_reset(state, _args=None): def do_soft_reset(state, _args=None):
state.ensure_raw_repl(soft_reset=True) state.ensure_raw_repl(soft_reset=True)
state.did_action()
def do_rtc(state, args): def do_rtc(state, args):