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 Andy-Big committed Jul 17, 2023
1 parent 8bdf87d commit 3bb5cd9
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 @@ -1444,7 +1444,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 3bb5cd9

Please sign in to comment.