-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
[BUG] Screen throttling can't handle fast displays #18044
Comments
Where do you see |
Download bugfix 2.0...it has been changed and there is no more such line |
I found it....I not analyzed how lcd works but it seems you did it and since you found that I think you may post a PR. If in trouble posting it I may do it for you |
When i wrote the code i never assumed a screen update could be as short as below a ms. The line exists to make the algorithm adaptive. A very long one time screen-update (for example interrupted by something) should not have influence forever. |
@GMagician, thanks for the PR |
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. |
Bug Description
Display with update time less than 1 ms suffers from screen throttling.
uint16_t max_display_update_time is 0 due to really fast display update time.
max_display_update_time--
set max_display_update_time to 65535, meaning next screen update will be in 18 hours.My Configurations
MKS Robin with reworked LCD subsystem
Steps to Reproduce
None.
Expected behavior: [What you expect to happen]
UI is displayed when printing from SD card
Actual behavior: [What actually happens]
Blank screen when printing from SD card
Additional Information
Possible solutions:
max_display_update_time--;
withif (max_display_update_time) max_display_update_time--;
in ultralcd.cpp (tested)The text was updated successfully, but these errors were encountered: