From 038f37854a424fceb87e04cdcdf8b7d732d5cd0d Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Thu, 12 Oct 2017 15:28:52 +0200 Subject: [PATCH] status message when mesh bed leveling is finished fixed --- Firmware/ultralcd_implementation_hitachi_HD44780.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Firmware/ultralcd_implementation_hitachi_HD44780.h b/Firmware/ultralcd_implementation_hitachi_HD44780.h index 5699461f7..275c96d27 100644 --- a/Firmware/ultralcd_implementation_hitachi_HD44780.h +++ b/Firmware/ultralcd_implementation_hitachi_HD44780.h @@ -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; - } } }