1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-25 04:48:31 +00:00

🩹 Use EXTRUDER_AUTO_FAN_SPEED for _AUTOFAN_SPEED (#23180)

This commit is contained in:
Robby Candra 2021-12-14 05:07:44 +07:00 committed by GitHub
parent 82d569faa0
commit 9eb2a5f62c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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