gcode_macro: Add support for SET_GCODE_VARIABLE command

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-05-28 12:17:08 -04:00
committed by KevinOConnor
parent 6e88320d62
commit a68f577adf
3 changed files with 37 additions and 1 deletions

View File

@@ -176,6 +176,14 @@ The following standard commands are supported:
- `STATUS`: Report the Klipper host software status.
- `HELP`: Report the list of available extended G-Code commands.
## G-Code Macro Commands
The following command is available when a "gcode_macro" config section
is enabled:
- `SET_GCODE_VARIABLE MACRO=<macro_name> VARIABLE=<name>
VALUE=<value>`: This command allows one to change the value of a
gcode_macro variable at run-time.
## Custom Pin Commands
The following command is available when an "output_pin" config section