From 171dc707fa8a33e5be327adf1032a28d7cda5df5 Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Fri, 24 Nov 2017 20:18:11 +0100 Subject: [PATCH] improve mesh bed leveling messages --- 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 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; - } } }