File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 2323halt:
2424 control enabled {{POWER_SWITCH}} false
2525 control enabled {{PAUSE_SWITCH}} false
26+ control enabled {{SINGLE_STEP_SWITCH}} false
2627
2728# wait until the power switch is enabled, then reset/start
2829reset:
@@ -283,9 +284,15 @@ breakpoint__loop:
283284 sensor enabled {{POWER_SWITCH}} @enabled
284285 jump state->halt equal enabled false
285286
287+ sensor enabled {{SINGLE_STEP_SWITCH}} @enabled
288+ jump breakpoint__end_loop equal enabled false
289+
286290 sensor enabled {{PAUSE_SWITCH}} @enabled
287291 jump breakpoint__loop equal enabled true
288292
293+ breakpoint__end_loop:
294+ control enabled {{PAUSE_SWITCH}} false
295+
289296 read counter prev_proc "@counter"
290297 op add counter counter 1
291298 write counter prev_proc "@counter"
You can’t perform that action at this time.
0 commit comments