Commit 62fd87ca authored by Cyril Guilloud's avatar Cyril Guilloud
Browse files

Merge branch 'cherry-pick-0c4feb14' into 'master'

Merge branch '2676-musst_reset_cmd' into master

See merge request !3741
parents 54b889b3 c756e6ce
Pipeline #47505 failed with stages
in 102 minutes and 18 seconds
......@@ -54,6 +54,16 @@ def _clear_cmd():
return property(exec_cmd, doc="Delete the current program")
def _reset_cmd():
def exec_cmd(self):
return self.putget("RESET")
self._musst__last_md5.value = None
return property(exec_cmd, doc="Musst reset")
def lazy_init(func):
def f(self, *args, **kwargs):
......@@ -263,7 +273,7 @@ class musst(CounterContainer):
ABORT = _simple_cmd("ABORT", "Program abort")
STOP = _simple_cmd("STOP", "Program stop")
RESET = _simple_cmd("RESET", "Musst reset")
RESET = _reset_cmd()
CONT = _simple_cmd(
"CONT", "Continue the program when stopped in STOP or BREAK states"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment