Skip to content

Commit

Permalink
🐛 Fix max chamber fan speed (MarlinFirmware#22977)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjasonsmith authored and AlexColello committed Jan 14, 2022
1 parent c0e4c21 commit bc1e22a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/module/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bc1e22a

Please sign in to comment.