From 44589a964d9b8394152c98fbb2b4f116779cc633 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 17 Oct 2022 14:43:39 -0500 Subject: [PATCH] account for FAN_OFF_PWM --- Marlin/src/feature/controllerfan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/feature/controllerfan.cpp b/Marlin/src/feature/controllerfan.cpp index a67b0d1389..79531a2836 100644 --- a/Marlin/src/feature/controllerfan.cpp +++ b/Marlin/src/feature/controllerfan.cpp @@ -82,7 +82,7 @@ void ControllerFan::update() { #if FAN_KICKSTART_TIME static millis_t fan_kick_end = 0; - if (speed) { + if (speed != FAN_OFF_PWM) { if (!fan_kick_end) { fan_kick_end = ms + FAN_KICKSTART_TIME; // May be longer based on slow update interval for controller fn check. Sets minimum speed = 255;