Pārlūkot izejas kodu

Watch the heater a little longer

Scott Lahteine 9 gadus atpakaļ
vecāks
revīzija
6697a8f375
1 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. 4
    2
      Marlin/temperature.cpp

+ 4
- 2
Marlin/temperature.cpp Parādīt failu

@@ -620,6 +620,7 @@ void manage_heater() {
620 620
 
621 621
     // Check if the temperature is failing to increase
622 622
     #ifdef THERMAL_PROTECTION_HOTENDS
623
+
623 624
       // Is it time to check this extruder's heater?
624 625
       if (watch_heater_next_ms[e] && ms > watch_heater_next_ms[e]) {
625 626
         // Has it failed to increase enough?
@@ -629,10 +630,11 @@ void manage_heater() {
629 630
           _temp_error(e, PSTR(MSG_HEATING_FAILED), PSTR(MSG_HEATING_FAILED_LCD));
630 631
         }
631 632
         else {
632
-          // Only check once per M104/M109
633
-          watch_heater_next_ms[e] = 0;
633
+          // Start again if the target is still far off
634
+          start_watching_heater(e);
634 635
         }
635 636
       }
637
+
636 638
     #endif // THERMAL_PROTECTION_HOTENDS
637 639
 
638 640
     #ifdef TEMP_SENSOR_1_AS_REDUNDANT

Notiek ielāde…
Atcelt
Saglabāt