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:
parent
232c29c2ed
commit
4bbe879c26
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue