-
-
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
Fix for the PR #5088 (Handle M108 in M1 also with ULTIPANEL) #5094
Conversation
Oh, I did't know that. But, click-button of LCD not respond. |
Darn, I had hoped #5089 would do much better. I wish I had equipment to test with. Can you spot any obvious bugs or typos in the PR? |
I've made a small adjustment to #5089 but I don't expect any difference, unless |
I've tested updated #5089, but problem isn't solved unfortunately. |
@esenapaj It sounds like the click is entering the menu, but then it's immediately exiting the menu because it's not being ignored on the next loop. So it needs a universal debouncer. |
Sorry, I tried to fix the PR #5089, but all failed. |
Hmm. Never mind #5089 for now. It needs a re-think. Though it's not a bad idea, it's still flawed right now. I'll keep working on it, especially when I can get hold of an LCD controller. (I'm still traveling and don't have access.) My idea was to make a single central place to manage LCD clicks, including handling de-bounce and wait-for-user conditions. But the |
We don't need continuous-press for anything, so it seems fine to do it this way:
I note that it can't just debounce right away. It has to wait until some function tries to read (and presumably use) the state of The good thing about this approach would be that if you pressed the button, I may be slightly off in my assessment of that… |
Ok, so I updated the PR again. You can take a look to see if the new approach makes sense. It might totally fail too. But I think it's better than before. It will probably work in some partial way. I hope it works, because it's more centralized and simplifies things. |
Fix for the PR #5088 (Handle M108 in M1 also with ULTIPANEL)
It fix a compilation error, and suppress a compilation warning.
When both
EMERGENCY_PARSER
andREPRAP_DISCOUNT_SMART_CONTROLLER
are enabled, compilation error occurs.error message
And when
EMERGENCY_PARSER
is enabled and no LCD is enabled, compilation warning occurs.warning message