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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user