Klipper3d / klipper

Klipper is a 3d-printer firmware
GNU General Public License v3.0
9.32k stars 5.28k forks source link

Clarify reported heater "pwm" stat after a shutdown #6518

Closed KevinOConnor closed 6 months ago

KevinOConnor commented 6 months ago

The pid logic can continue after a shutdown, even though the pin commands sent to the mcu are ignored. However, this behavior can result in confusing "stats" messages in the log. Explicitly disable updates after a shutdown event so that the log statistics are more clear. This makes it more likely that the stats will show "pwm=0.00" instead of the last commanded pwm value.

-Kevin