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>
pull/12181/head
Jim Mussared 2023-08-07 11:20:12 +10:00 zatwierdzone przez Damien George
rodzic 232c29c2ed
commit 4bbe879c26
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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):