diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-04-25 12:09:03 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-04-25 12:11:49 -0400 |
commit | 86a99cf38ed9c041a332505e413805e582a361db (patch) | |
tree | 2516aa0817020bd8d03f5722482ac0148061a45e /config | |
parent | c590bf76430a1b14a1f9b5ad0c37840291d7b8a9 (diff) | |
download | kutter-86a99cf38ed9c041a332505e413805e582a361db.tar.gz kutter-86a99cf38ed9c041a332505e413805e582a361db.tar.xz kutter-86a99cf38ed9c041a332505e413805e582a361db.zip |
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>
Diffstat (limited to 'config')
-rw-r--r-- | config/example-extras.cfg | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg index a81ab014..830381ce 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -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 |