Voron-Documentation icon indicating copy to clipboard operation
Voron-Documentation copied to clipboard

Klipper config in Chamber temp doc requires updating

Open tempestaz opened this issue 3 years ago • 1 comments

In the section for the M141 gcode macro, the example is using a deprecated Klipper function default_parameter. Newest Klipper requires this syntax.

[gcode_macro M141] #default_parameter_S: 0 (removed) #default_parameter_P: 0 (removed) gcode: {% set S = params.S|default(0) %} {% set P = params.P|default(0) %} SET_TEMPERATURE_FAN_TARGET temperature_fan="chamber" target={S}

Tested this on my V2.4 with latest Klipper, everything else is fine. Thanks for the great docs!

Larry

tempestaz avatar Jan 25 '22 04:01 tempestaz

As P is not used, it could just be,

[gcode_macro M141]
gcode:
  SET_TEMPERATURE_FAN_TARGET temperature_fan="chamber" target={params.S|default(0)|int}

geoffsim avatar Aug 16 '22 11:08 geoffsim