Преглед на файлове

status message when mesh bed leveling is finished fixed

PavelSindler преди 7 години
родител
ревизия
038f37854a
променени са 1 файла, в които са добавени 1 реда и са изтрити 6 реда
  1. 1 6
      Firmware/ultralcd_implementation_hitachi_HD44780.h

+ 1 - 6
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;
-					}
 				}
 
 			}