Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» Assume Auto Fans < HOTENDS (MarlinFirmware#25815)
Browse files Browse the repository at this point in the history
  • Loading branch information
GMagician authored and oponyx committed May 14, 2023
1 parent 55af9fa commit e53fab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/module/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1428,7 +1428,7 @@ int16_t Temperature::getHeaterPower(const heater_id_t heater_id) {
#define AUTOFAN_CASE(N) TERN(HAS_AUTO_FAN_##N, _AUTOFAN_CASE, _AUTOFAN_NOT)(N)

switch (f) {
REPEAT(8, AUTOFAN_CASE)
REPEAT(HOTENDS, AUTOFAN_CASE)
#if HAS_AUTO_CHAMBER_FAN && !AUTO_CHAMBER_IS_E
case CHAMBER_FAN_INDEX: _UPDATE_AUTO_FAN(CHAMBER, fan_on, CHAMBER_AUTO_FAN_SPEED); break;
#endif
Expand Down

0 comments on commit e53fab8

Please sign in to comment.