Skip to content
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 LCD_TIMEOUT_TO_STATUS bug #17887

Closed
wants to merge 1 commit into from
Closed

Fix LCD_TIMEOUT_TO_STATUS bug #17887

wants to merge 1 commit into from

Conversation

Knifa
Copy link
Contributor

@Knifa Knifa commented May 5, 2020

Description

Remove checks for LCD_TIMEOUT_TO_STATUS as it always gets set in Conditionals_post.h.

Benefits

Removes unneeded #if and TERN guards.

Related Issues

This will fix #17883 and #17885 since there will be no TERN anymore. :)

Specifically: deferring the return to status screen is totally broken right now. Any modal will always get returned to the status screen eventually (i.e., bed leveling corner.)

The core problem with the above issues is that TERN breaks because LCD_TIMEOUT_TO_STATUS expands to a value rather than being empty. This doesn't solve the issue with TERN as it just gets rid of it entirely, but it does solve the timeout issue.

thinkyhead added a commit that referenced this pull request May 6, 2020
Replaces #17887

Co-Authored-By: Daniel Callander <[email protected]>
@thinkyhead
Copy link
Member

Thanks! The patch is now applied, but in a different manner so that you can set LCD_TIMEOUT_TO_STATUS to 0 to completely disable the timeout.

@thinkyhead thinkyhead closed this May 6, 2020
@thinkyhead thinkyhead changed the title No need to check for LCD_TIMEOUT_TO_STATUS as it is always set Fix LCD_TIMEOUT_TO_STATUS bug May 6, 2020
@Knifa Knifa deleted the no-check-for-lcd-status branch May 7, 2020 01:09
jmp0x0000 pushed a commit to jmp0x0000/Marlin that referenced this pull request Aug 7, 2020
njibhu pushed a commit to njibhu/Marlin that referenced this pull request Aug 24, 2020
HairingX pushed a commit to HairingX/Marlin that referenced this pull request Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants