mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-28 22:35:21 +00:00
🩹 Use EXTRUDER_AUTO_FAN_SPEED for _AUTOFAN_SPEED (#23180)
This commit is contained in:
parent
82d569faa0
commit
9eb2a5f62c
@ -938,7 +938,7 @@ int16_t Temperature::getHeaterPower(const heater_id_t heater_id) {
|
||||
#if BOTH(HAS_FANCHECK, HAS_PWMFANCHECK)
|
||||
#define _AUTOFAN_SPEED() fan_check.is_measuring() ? 255 : EXTRUDER_AUTO_FAN_SPEED
|
||||
#else
|
||||
#define _AUTOFAN_SPEED() 255
|
||||
#define _AUTOFAN_SPEED() EXTRUDER_AUTO_FAN_SPEED
|
||||
#endif
|
||||
#define _AUTOFAN_CASE(N) case N: _UPDATE_AUTO_FAN(E##N, fan_on, _AUTOFAN_SPEED()); break
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user