Merge pull request #3779 from gudnimg/fix_lcd_wizard_load_mmu

Don't show full screen message meant for single color setup
This commit is contained in:
Yuri D'Elia 2022-12-10 11:27:48 +01:00 committed by GitHub
commit b4a061e70a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -3876,14 +3876,17 @@ static void lcd_wizard_load() {
if (MMU2::mmu2.Enabled()) {
lcd_show_fullscreen_message_and_wait_P(
_i("Please insert filament into the first tube of the MMU, then press the knob to load it.")); ////MSG_MMU_INSERT_FILAMENT_FIRST_TUBE c=20 r=6
// NOTE: a full screen message showing which filament is being inserted
// is performed by M701. For this reason MSG_LOADING_FILAMENT is not
// used here when a MMU is used.
} else {
lcd_show_fullscreen_message_and_wait_P(
_i("Please insert filament into the extruder, then press the knob to load it.")); ////MSG_WIZARD_LOAD_FILAMENT c=20 r=6
lcd_update_enable(false);
lcd_clear();
lcd_puts_at_P(0, 2, _T(MSG_LOADING_FILAMENT));
loading_flag = true;
}
lcd_update_enable(false);
lcd_clear();
lcd_puts_at_P(0, 2, _T(MSG_LOADING_FILAMENT));
loading_flag = true;
gcode_M701(FILAMENTCHANGE_FIRSTFEED, 0);
//enquecommand_P(PSTR("M701"));
}