We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
printer fails to send M155 temperature report after ~72 Minutes of printing. additionally, the DWIN screen freezes.
when re-enabling temperature report using M115, the reporting works again
The text was updated successfully, but these errors were encountered:
seems to be caused by overflow of system uptime timer (https://github.com/shadow578/framework-arduino-hc32f46x/blob/6f19b41ea97260abb60e62bb361e3096bf929bcd/cores/arduino/drivers/sysclock/systick.cpp#L4)
changing the timer to uint64_t seems to fix the issue
uint64_t
Sorry, something went wrong.
fixed in arduino core by adapting STM32duino's solution. see shadow578/framework-arduino-hc32f46x@ce09dcf
NOTE: millis() will still overflow after ~50 days, idk how to avoid this but other cores seem to have the same issue
official arduino docs mention that millis() will overflow after ~50 days, so assuming this is ok.
https://reference.arduino.cc/reference/en/language/functions/time/millis/
Successfully merging a pull request may close this issue.
Bug Description
printer fails to send M155 temperature report after ~72 Minutes of printing.
additionally, the DWIN screen freezes.
when re-enabling temperature report using M115, the reporting works again
The text was updated successfully, but these errors were encountered: