-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
If an sd card is removed using the UI and NO_SD_DETECT is enabled, just refresh the UI #26362
Conversation
Remove quotes around axis Min/Max strings and prevent cutting the last character off of filament runout state.
Co-authored-by: ellensp <[email protected]>
If an sd card is removed using the menu the ui won't be updated, just update the menu if the flag NO_SD_DETECT is enabled.
Hello, sincerely I don't know why the test will fail, but anyway this is only for a narrow number of people that own some printers with a possibly broken sd_card detection, using the ui won't update the status of the card when it is removed, but will update it's status if you select "attach sd card" from the menu, so I just inserted an #if ENABLED(NO_SD_DETECT) with the ui.refresh() directly emulating the behaviour of card.mount(). |
#26339 needs to be merged for CI tests to work. |
Pr/fix endstop test menu
Done, thanks for the advice @thisiskeithb |
You shouldn’t merge pending PRs into other pending PRs. I meant that we’re waiting for my PR to be merged into the main code base first. |
D'oh |
I can't seem to edit this PR, but you'll need to drop/revert those changes & just push the commit to fix the SD UI refresh bug. |
Since it can't be edited for one reason or another and is very simple, I've moved it over to #26366. |
Description
If an sd card is removed using the menu the ui won't be updated, just update the menu if the flag NO_SD_DETECT is enabled.
Requirements
NO_SD_DETECT must be enabled for this change to take effect
Benefits
after removing a card with the ui, the ui itself will be updated with the new state, instead of having to move the cursor or change the page to view the ui update with the card removed information