RUN_SHELL_COMMAND params not being passed? #430
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Linux Distribution
(mkspi)
Welcome to Armbian 22.05.0-trunk with bleeding edge Linux 5.16.20-rockchip64
What happened
What did you expect to happen
How to reproduce
----printer.cfg----
----/home/mks/set-v4l2-defaults.sh----
Additional information
It's entirely possible this is caused by my own stupidity, as this jinja syntax is new to me.
Although this is rather a support request for klipper, i can help you with that case.
You need to use
params.RANGEinside of the macro. An uppercase "range" is required here. Then, it should work.Funfact: When calling the macro it doesn't matter if you call it like
FOCUSCAM0 RANGE=111orFOCUSCAM0 range=111. When calling a macro it seems that parameters can be written in lower- or uppercase, but inside of macros, you need to strictly use uppercase.Excellent, that was it. Thanks.
I only ask here becasue gcode_shell_command.py is a subset of this git.