1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 12:04:19 +00:00

🐛 Fix max chamber fan speed (#22977)

This commit is contained in:
Jason Smith 2021-10-18 01:11:16 -07:00 committed by Scott Lahteine
parent 5d79d8fad6
commit 18b38fb58a

View File

@ -1494,8 +1494,8 @@ void Temperature::manage_heater() {
#elif CHAMBER_FAN_MODE == 3
fan_chamber_pwm = CHAMBER_FAN_BASE + _MAX((CHAMBER_FAN_FACTOR) * (temp_chamber.celsius - temp_chamber.target), 0);
#endif
NOMORE(fan_chamber_pwm, 225);
set_fan_speed(CHAMBER_FAN_INDEX, fan_chamber_pwm); // TODO: instead of fan 2, set to chamber fan
NOMORE(fan_chamber_pwm, 255);
set_fan_speed(CHAMBER_FAN_INDEX, fan_chamber_pwm);
#endif
#if ENABLED(CHAMBER_VENT)