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 filament Change heading on LCD #15783

Merged

Conversation

rmoravcik
Copy link
Contributor

I noticed a misleading pause mode headers on LCD during investigation of #13564.

So, if you invoke M600 or run filament change from menu, than Marlin is displaying "PRINT PAUSED" header instead of "FILAMENT CHANGE" even there is no print currently running. This PR is trying to fix this behavior.

So, if pause_print() function is called with unload_length > 0, then pause_mode is set to PAUSE_MODE_CHANGE_FILAMENT, otherwise pause_mode remains PAUSE_MODE_PAUSE_PRINT.

load_filament() function from resume_print() will be called with PAUSE_MODE_SAME to not force PAUSE_MODE_PAUSE_PRINT. So, if pause_mode was previously set to PAUSE_MODE_CHANGE_FILAMENT, it will remain PAUSE_MODE_CHANGE_FILAMENT.

@thinkyhead thinkyhead merged commit 41b5d72 into MarlinFirmware:bugfix-2.0.x Nov 6, 2019
@thinkyhead thinkyhead changed the title Fix filament change header Fix filament Change heading on LCD Nov 6, 2019
philippniethammer pushed a commit to philippniethammer/Marlin that referenced this pull request Dec 21, 2019
@rmoravcik rmoravcik deleted the fix_filament_change_header branch March 4, 2020 11:27
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