status message when mesh bed leveling is finished fixed

This commit is contained in:
PavelSindler 2017-10-12 15:28:52 +02:00
parent 56d38a8a10
commit 038f37854a
1 changed files with 1 additions and 6 deletions

View File

@ -958,7 +958,7 @@ static void lcd_implementation_status_screen()
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(" "));
@ -966,11 +966,6 @@ static void lcd_implementation_status_screen()
lcd_printPGM(MSG_HOMEYZ_DONE);
custom_message_state--;
}
if (custom_message_state == 10)
{
lcd_printPGM(MSG_HOMEYZ_DONE);
custom_message_state = 9;
}
}
}