|
|
@ -369,7 +369,7 @@ const char str_t_thermal_runaway[] PROGMEM = STR_T_THERMAL_RUNAWAY,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
TERN_(SINGLENOZZLE, fan = 0); // Always use fan index 0 with SINGLENOZZLE
|
|
|
|
TERN_(SINGLENOZZLE, if (fan < EXTRUDERS) fan = 0); // Always fan 0 for SINGLENOZZLE E fan
|
|
|
|
|
|
|
|
|
|
|
|
if (fan >= FAN_COUNT) return;
|
|
|
|
if (fan >= FAN_COUNT) return;
|
|
|
|
|
|
|
|
|
|
|
@ -1461,7 +1461,7 @@ void Temperature::manage_heater() {
|
|
|
|
fan_chamber_pwm = CHAMBER_FAN_BASE + _MAX((CHAMBER_FAN_FACTOR) * (temp_chamber.celsius - temp_chamber.target), 0);
|
|
|
|
fan_chamber_pwm = CHAMBER_FAN_BASE + _MAX((CHAMBER_FAN_FACTOR) * (temp_chamber.celsius - temp_chamber.target), 0);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
NOMORE(fan_chamber_pwm, 225);
|
|
|
|
NOMORE(fan_chamber_pwm, 225);
|
|
|
|
set_fan_speed(2, fan_chamber_pwm); // TODO: instead of fan 2, set to chamber fan
|
|
|
|
set_fan_speed(CHAMBER_FAN_INDEX, fan_chamber_pwm); // TODO: instead of fan 2, set to chamber fan
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(CHAMBER_VENT)
|
|
|
|
#if ENABLED(CHAMBER_VENT)
|
|
|
@ -1492,7 +1492,7 @@ void Temperature::manage_heater() {
|
|
|
|
else if (!flag_chamber_off) {
|
|
|
|
else if (!flag_chamber_off) {
|
|
|
|
#if ENABLED(CHAMBER_FAN)
|
|
|
|
#if ENABLED(CHAMBER_FAN)
|
|
|
|
flag_chamber_off = true;
|
|
|
|
flag_chamber_off = true;
|
|
|
|
set_fan_speed(2, 0);
|
|
|
|
set_fan_speed(CHAMBER_FAN_INDEX, 0);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#if ENABLED(CHAMBER_VENT)
|
|
|
|
#if ENABLED(CHAMBER_VENT)
|
|
|
|
flag_chamber_excess_heat = false;
|
|
|
|
flag_chamber_excess_heat = false;
|
|
|
|