Watchdog cleanup (#15283)
This commit is contained in:
@ -1000,7 +1000,7 @@ void Temperature::manage_heater() {
|
||||
|
||||
#if EARLY_WATCHDOG
|
||||
// If thermal manager is still not running, make sure to at least reset the watchdog!
|
||||
if (!inited) return watchdog_reset();
|
||||
if (!inited) return watchdog_refresh();
|
||||
#endif
|
||||
|
||||
#if BOTH(PROBING_HEATERS_OFF, BED_LIMIT_SWITCHING)
|
||||
@ -1518,10 +1518,8 @@ void Temperature::updateTemperaturesFromRawValues() {
|
||||
filwidth.update_measured_mm();
|
||||
#endif
|
||||
|
||||
#if ENABLED(USE_WATCHDOG)
|
||||
// Reset the watchdog after we know we have a temperature measurement.
|
||||
watchdog_reset();
|
||||
#endif
|
||||
// Reset the watchdog on good temperature measurement
|
||||
watchdog_refresh();
|
||||
|
||||
temp_meas_ready = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user