Selaa lähdekoodia

PFW-874 new firmware alert timeout

NotaRobotexe 5 vuotta sitten
vanhempi
commit
0cab2284ea
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      Firmware/Marlin_main.cpp
  2. 1 1
      Firmware/util.cpp

+ 1 - 1
Firmware/Marlin_main.cpp

@@ -5903,7 +5903,7 @@ Sigma_Exit:
           SERIAL_PROTOCOLLNRPGM(FW_VERSION_STR_P());
       } else if (code_seen('U')) {
           // Check the firmware version provided. If the firmware version provided by the U code is higher than the currently running firmware,
-          // pause the print and ask the user to upgrade the firmware.
+          // pause the print for 30s and ask the user to upgrade the firmware.
           show_upgrade_dialog_if_version_newer(++ strchr_pointer);
       } else {
           SERIAL_ECHOPGM("FIRMWARE_NAME:Prusa-Firmware ");

+ 1 - 1
Firmware/util.cpp

@@ -304,7 +304,7 @@ if((eSoundMode==e_SOUND_MODE_LOUD)||(eSoundMode==e_SOUND_MODE_ONCE))
         _tone(BEEPER, 1000);
         delay_keep_alive(50);
         _noTone(BEEPER);
-        lcd_wait_for_click();
+        lcd_wait_for_click_delay(30);
         lcd_update_enable(true);
         lcd_clear();
         lcd_update(0);