[BUG] "Hotend temperature abnormal" warning never actually triggered #475
Reference in New Issue
Block a user
No description provided.
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?
Bug Description
We have a routine to check for heater errors using a timeout counter that is incremented if the temperature is out of range:
0981430d4b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp (L982-L984)
The counter condition will never be true, because
HeaterCheckCount
is declareduint16_t
which is bound to[0, 65535]
.0981430d4b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h (L230)
Steps to Reproduce
(no, you should probably not try this at home 😉)
Expected behavior: An error "Hotend temperature abnormal..." should pop up.
Actual behavior: Nothing.
(no, I did not test this for real, but the behavior should be pretty straight forward from the code)
Additional Information
--
Question
600.000 is pretty high. This was actually increased from 60.000 in
85bac6b396
Should we lower the limit again or increase the counter size to
uint32_t
or similar?To be honest - I don't know why I increased the heater check count.
Maybe it's a good Idea to lower it an test everything.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.