Browse Source

Watch the heater a little longer

Scott Lahteine 9 years ago
parent
commit
6697a8f375
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      Marlin/temperature.cpp

+ 4
- 2
Marlin/temperature.cpp View File

620
 
620
 
621
     // Check if the temperature is failing to increase
621
     // Check if the temperature is failing to increase
622
     #ifdef THERMAL_PROTECTION_HOTENDS
622
     #ifdef THERMAL_PROTECTION_HOTENDS
623
+
623
       // Is it time to check this extruder's heater?
624
       // Is it time to check this extruder's heater?
624
       if (watch_heater_next_ms[e] && ms > watch_heater_next_ms[e]) {
625
       if (watch_heater_next_ms[e] && ms > watch_heater_next_ms[e]) {
625
         // Has it failed to increase enough?
626
         // Has it failed to increase enough?
629
           _temp_error(e, PSTR(MSG_HEATING_FAILED), PSTR(MSG_HEATING_FAILED_LCD));
630
           _temp_error(e, PSTR(MSG_HEATING_FAILED), PSTR(MSG_HEATING_FAILED_LCD));
630
         }
631
         }
631
         else {
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
     #endif // THERMAL_PROTECTION_HOTENDS
638
     #endif // THERMAL_PROTECTION_HOTENDS
637
 
639
 
638
     #ifdef TEMP_SENSOR_1_AS_REDUNDANT
640
     #ifdef TEMP_SENSOR_1_AS_REDUNDANT

Loading…
Cancel
Save