瀏覽代碼

improve mesh bed leveling messages

PavelSindler 7 年之前
父節點
當前提交
171dc707fa
共有 1 個文件被更改,包括 1 次插入6 次删除
  1. 1 6
      Firmware/ultralcd_implementation_hitachi_HD44780.h

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