Browse Source

Merge pull request #101 from PavelSindler/wizard

Wizard and mesh bed leveling messages
PavelSindler 7 years ago
parent
commit
38c1ea7867
2 changed files with 2 additions and 6 deletions
  1. 1 0
      Firmware/ultralcd.cpp
  2. 1 6
      Firmware/ultralcd_implementation_hitachi_HD44780.h

+ 1 - 0
Firmware/ultralcd.cpp

@@ -3540,6 +3540,7 @@ void lcd_wizard(int state) {
 			break;
 		case 7: //load filament 
 			lcd_show_fullscreen_message_and_wait_P(MSG_WIZARD_LOAD_FILAMENT);
+			lcd_update_enable(false);
 			lcd_implementation_clear();
 			lcd_print_at_PGM(0, 2, MSG_LOADING_FILAMENT);
 			loading_flag = true;

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