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.
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