gcode_macro: Parse variable_X parameters using ast.literal_eval()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -182,7 +182,8 @@ 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.
|
||||
gcode_macro variable at run-time. The provided VALUE is parsed as a
|
||||
Python literal.
|
||||
|
||||
## Custom Pin Commands
|
||||
|
||||
|
||||
Reference in New Issue
Block a user