aboutsummaryrefslogtreecommitdiffstats
path: root/config/sample-macros.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'config/sample-macros.cfg')
-rw-r--r--config/sample-macros.cfg5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/sample-macros.cfg b/config/sample-macros.cfg
index f556dc14..5f965fb1 100644
--- a/config/sample-macros.cfg
+++ b/config/sample-macros.cfg
@@ -98,11 +98,14 @@ gcode:
# been changed, the print can be resumed from its previous position
# with the "RESUME" gcode.
+[pause_resume]
+
[gcode_macro M600]
default_parameter_X: 50
default_parameter_Y: 0
default_parameter_Z: 10
gcode:
+ SAVE_GCODE_STATE NAME=M600_state
PAUSE
G91
G1 E-.8 F2700
@@ -111,4 +114,4 @@ gcode:
G1 X{X} Y{Y} F3000
G91
G1 E-50 F1000
- G90
+ RESTORE_GCODE_STATE NAME=M600_state