Merge pull request #101 from PavelSindler/wizard

Wizard and mesh bed leveling messages
This commit is contained in:
PavelSindler 2017-11-24 22:58:16 +01:00 committed by GitHub
commit 38c1ea7867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -3540,6 +3540,7 @@ void lcd_wizard(int state) {
break;
case 7: //load filament
lcd_show_fullscreen_message_and_wait_P(MSG_WIZARD_LOAD_FILAMENT);
lcd_update_enable(false);
lcd_implementation_clear();
lcd_print_at_PGM(0, 2, MSG_LOADING_FILAMENT);
loading_flag = true;

View File

@ -966,7 +966,7 @@ if (print_sd_status)
custom_message = false;
custom_message_type = 0;
}
if (custom_message_state > 3 && custom_message_state < 10 )
if (custom_message_state > 3 && custom_message_state <= 10 )
{
lcd.setCursor(0, 3);
lcd_printPGM(PSTR(" "));
@ -974,11 +974,6 @@ if (print_sd_status)
lcd_printPGM(MSG_HOMEYZ_DONE);
custom_message_state--;
}
if (custom_message_state == 10)
{
lcd_printPGM(MSG_HOMEYZ_DONE);
custom_message_state = 9;
}
}
}