diff --git a/Firmware/ultralcd_implementation_hitachi_HD44780.h b/Firmware/ultralcd_implementation_hitachi_HD44780.h index 98303dc38..710de49ff 100644 --- a/Firmware/ultralcd_implementation_hitachi_HD44780.h +++ b/Firmware/ultralcd_implementation_hitachi_HD44780.h @@ -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; - } } }