Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

KevinOConnor
Copy link
Collaborator

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

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.

Signed-off-by: Kevin O'Connor <[email protected]>
@KevinOConnor KevinOConnor force-pushed the work-heaters-20240305 branch from ee55637 to bb512ef Compare March 14, 2024 01:43
@KevinOConnor KevinOConnor merged commit bb512ef into master Mar 14, 2024
2 checks passed
@KevinOConnor KevinOConnor deleted the work-heaters-20240305 branch March 14, 2024 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant