mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-10 15:25:20 -06:00
gcode_button: Simplify script execution
It's no longer necessary to queue gcode scripts - gcode.run_script() now does that automatically. Also, make release_gcode config optional. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
c590bf7643
commit
86a99cf38e
2 changed files with 12 additions and 27 deletions
|
@ -1208,10 +1208,11 @@
|
|||
# provided.
|
||||
#press_gcode:
|
||||
# A list of G-Code commands to execute when the button is pressed.
|
||||
# G-Code templates are supported.
|
||||
# G-Code templates are supported. This parameter must be provided.
|
||||
#release_gcode:
|
||||
# A list of G-Code commands to execute when the button is released.
|
||||
# G-Code templates are supported.
|
||||
# G-Code templates are supported. The default is to not run any
|
||||
# commands on a button release.
|
||||
|
||||
# Run-time configurable output pins (one may define any number of
|
||||
# sections with an "output_pin" prefix). Pins configured here will be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue