Kaynağa Gözat

timeout to status prolonged, no timeout allowed when MSG_WIZARD_RERUN

PavelSindler 7 yıl önce
ebeveyn
işleme
2170c1bbe7
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      Firmware/ultralcd.cpp
  2. 1 1
      Firmware/ultralcd.h

+ 1 - 1
Firmware/ultralcd.cpp

@@ -3444,7 +3444,7 @@ void lcd_v2_calibration() {
 void lcd_wizard() {
 	bool result = true;
 	if (calibration_status() != CALIBRATION_STATUS_ASSEMBLED) {
-		result = lcd_show_multiscreen_message_yes_no_and_wait_P(MSG_WIZARD_RERUN, true, false);
+		result = lcd_show_multiscreen_message_yes_no_and_wait_P(MSG_WIZARD_RERUN, false, false);
 	}
 	if (result) {
 		calibration_status_store(CALIBRATION_STATUS_ASSEMBLED);

+ 1 - 1
Firmware/ultralcd.h

@@ -83,7 +83,7 @@ void lcd_mylang();
   #define LCD_ALERTMESSAGERPGM(x) lcd_setalertstatuspgm((x))
 
   #define LCD_UPDATE_INTERVAL 100
-  #define LCD_TIMEOUT_TO_STATUS 15000
+  #define LCD_TIMEOUT_TO_STATUS 30000
 
   #ifdef ULTIPANEL
   void lcd_buttons_update();