|
|
|
|
683
|
updateTemperaturesFromRawValues(); // also resets the watchdog
|
683
|
updateTemperaturesFromRawValues(); // also resets the watchdog
|
684
|
|
684
|
|
685
|
#if ENABLED(HEATER_0_USES_MAX6675)
|
685
|
#if ENABLED(HEATER_0_USES_MAX6675)
|
686
|
- float ct = current_temperature[0];
|
|
|
687
|
- if (ct > min(HEATER_0_MAXTEMP, 1023)) max_temp_error(0);
|
|
|
688
|
- if (ct < max(HEATER_0_MINTEMP, 0.01)) min_temp_error(0);
|
|
|
|
|
686
|
+ if (current_temperature[0] > min(HEATER_0_MAXTEMP, 1023)) max_temp_error(0);
|
|
|
687
|
+ if (current_temperature[0] < max(HEATER_0_MINTEMP, 0.01)) min_temp_error(0);
|
689
|
#endif
|
688
|
#endif
|
690
|
|
689
|
|
691
|
#if (ENABLED(THERMAL_PROTECTION_HOTENDS) && WATCH_TEMP_PERIOD > 0) || (ENABLED(THERMAL_PROTECTION_BED) && WATCH_BED_TEMP_PERIOD > 0) || DISABLED(PIDTEMPBED) || HAS_AUTO_FAN
|
690
|
#if (ENABLED(THERMAL_PROTECTION_HOTENDS) && WATCH_TEMP_PERIOD > 0) || (ENABLED(THERMAL_PROTECTION_BED) && WATCH_BED_TEMP_PERIOD > 0) || DISABLED(PIDTEMPBED) || HAS_AUTO_FAN
|