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

check for LCD_SET_PROGRESS_MANUALLY when using USE_M73_REMAINING_TIME #20751

Conversation

ellensp
Copy link
Contributor

@ellensp ellensp commented Jan 11, 2021

Description

If you enable USE_M73_REMAINING_TIME and SHOW_REMAINING_TIME and SDSUPPORT without enabling LCD_SET_PROGRESS_MANUALLY you get a compile error

marlinui_HD44780.cpp:711:35: error: 'class MarlinUI' has no member named 'get_remaining_time'
duration_t remaining = ui.get_remaining_time();

Requirements

A LCD and USE_M73_REMAINING_TIME and SHOW_REMAINING_TIME and SDSUPPORT enabled.

Benefits

Warns the user that USE_M73_REMAINING_TIME requires to enable LCD_SET_PROGRESS_MANUALLY

Related Issues

Was noticed in reprap forum https://reprap.org/forum/read.php?415,880392

@thinkyhead thinkyhead merged commit fd45854 into MarlinFirmware:bugfix-2.0.x Jan 20, 2021
@ellensp ellensp deleted the bugfix-2.0.x-#USE_M73_REMAINING_TIME branch January 20, 2021 03:30
kpishere pushed a commit to kpishere/Marlin that referenced this pull request Feb 19, 2021
zillarob pushed a commit to zillarob/Marlin that referenced this pull request Feb 25, 2021
zillarob pushed a commit to zillarob/Marlin that referenced this pull request Feb 25, 2021
zillarob pushed a commit to zillarob/Marlin that referenced this pull request Feb 26, 2021
zillarob pushed a commit to zillarob/Marlin that referenced this pull request Mar 11, 2021
W4tel-BiDi pushed a commit to W4tel-BiDi/Marlin that referenced this pull request Apr 5, 2021
thinkyhead pushed a commit to thinkyhead/Marlin that referenced this pull request Apr 29, 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.

None yet

3 participants