Browse Source

🐛 Fix max chamber fan speed (#22977)

vanilla_fb_2.0.x
Jason Smith 3 years ago
committed by Scott Lahteine
parent
commit
18b38fb58a
  1. 4
      Marlin/src/module/temperature.cpp

4
Marlin/src/module/temperature.cpp

@ -1494,8 +1494,8 @@ void Temperature::manage_heater() {
#elif CHAMBER_FAN_MODE == 3 #elif CHAMBER_FAN_MODE == 3
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, 255);
set_fan_speed(CHAMBER_FAN_INDEX, fan_chamber_pwm); // TODO: instead of fan 2, set to chamber fan set_fan_speed(CHAMBER_FAN_INDEX, fan_chamber_pwm);
#endif #endif
#if ENABLED(CHAMBER_VENT) #if ENABLED(CHAMBER_VENT)

Loading…
Cancel
Save