Skip to content

Commit

Permalink
pause_resume_cancel: revert move base pause
Browse files Browse the repository at this point in the history
This reverts commit 0895c1b.
  • Loading branch information
jschuh committed May 14, 2023
1 parent 8204294 commit a7a34ab
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pause_resume_cancel.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ gcode:
SET_GCODE_VARIABLE MACRO=resume VARIABLE=saved_z VALUE="{position.z}"
SET_GCODE_VARIABLE MACRO=resume VARIABLE=saved_e VALUE="{E}"
SAVE_GCODE_STATE NAME=_KM_PAUSE_OVERRIDE_STATE
_KM_PAUSE_BASE
M83
G1 E{'%.4f' % -E} F{km.load_speed}
PARK P=2{% for k in params|select("in", "XYZ") %}
Expand All @@ -36,11 +37,6 @@ gcode:
G4 P200
{% endfor %}
{% endif %}
# The pause belongs here logically, but it doesn't actually matter where it
# is because the event doesn't take effect until the next gcode statement
# from the input (SD or console). That means all nested macro calls have to
# first complete.
_KM_PAUSE_BASE
{% else %}
{ action_respond_info("Print not in progress") }
{% endif %}
Expand Down

0 comments on commit a7a34ab

Please sign in to comment.