-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Universal "popup freezing TFT" bug fix, loopProcessToCondition() removal #2591
Universal "popup freezing TFT" bug fix, loopProcessToCondition() removal #2591
Conversation
We already discussed a lot this topic also with BTT. The |
The compiled flash size is smaller. I guess it matters more than the source code size.
I know what |
you can simply remove from |
This was my initial approach but I realized
...which is also true for
|
48a8edd
to
9b6637e
Compare
1cf5505
to
e119f02
Compare
e119f02
to
c72bd01
Compare
080e82e
to
7b39b4f
Compare
7b39b4f
to
28a7291
Compare
28a7291
to
a5992d5
Compare
1d23253
to
11f1c10
Compare
11f1c10
to
578a0f2
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bump |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing due to being obsolete. |
Requirements
BTT or MKS TFT
Description
This PR is has more purposes linked together. PR #2525 introduced a possible bug ("LevelCorner.c" -> "while" loop at line 172), a spontaneous popup might freeze the TFT. It is an old bug which was thought to be fixed universally by PR #1959's "loopPorcessToCondition()". This "loopPorcessToCondition()" couldn't be applied in PR #2525 even by the author who created it. In fact noone ever used it than it's creator.
This PR fixes the popup bug universally.
"loopPorcessToCondition()":
The bugfix from this PR renders "loopPorcessToCondition()" unnecessary so it is removed. By removing it the resulting code is smaller, there's also less dynamic RAM used.
Benefits
Related Issues
Notes
In my printers I never ever used "loopPorcessToCondition()" but used this PR and I never ever had one single freeze (printed more than 20kg of filament).