Skip to content

Commit

Permalink
tools/mpremote: Make soft-reset count as an action.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jimmo authored and dpgeorge committed Aug 10, 2023
1 parent 232c29c commit 4bbe879
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/mpremote/mpremote/commands.py
Expand Up @@ -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):
Expand Down

0 comments on commit 4bbe879

Please sign in to comment.