mirror of https://github.com/Desuuuu/klipper.git
config: Note gcode_macro string formatting in example-extras.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
439f6684be
commit
cf79b3c342
|
@ -970,8 +970,12 @@
|
|||
#[gcode_macro my_cmd]
|
||||
#gcode:
|
||||
# A list of G-Code commands (one per line; subsequent lines
|
||||
# indented) to execute in place of "my_cmd". This parameter must be
|
||||
# provided.
|
||||
# indented) to execute in place of "my_cmd". This parameter is
|
||||
# evaluated using Python "string format syntax" with the command
|
||||
# parameters as named arguments. For example, if one were to define
|
||||
# a macro MY_DELAY with gcode "G4 P{DELAY}" then the command
|
||||
# "MY_DELAY DELAY=100" would evaluate to "G4 P100". This parameter
|
||||
# must be provided.
|
||||
|
||||
|
||||
# Replicape support - see the generic-replicape.cfg file for further
|
||||
|
|
Loading…
Reference in New Issue