Browse Source

status message when mesh bed leveling is finished fixed

PavelSindler 7 năm trước cách đây
mục cha
commit
038f37854a
1 tập tin đã thay đổi với 1 bổ sung6 xóa
  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;
-					}
 				}
 
 			}