diff --git a/Marlin/src/feature/controllerfan.cpp b/Marlin/src/feature/controllerfan.cpp index 0b54d0e84b..a67b0d1389 100644 --- a/Marlin/src/feature/controllerfan.cpp +++ b/Marlin/src/feature/controllerfan.cpp @@ -81,10 +81,9 @@ void ControllerFan::update() { ); #if FAN_KICKSTART_TIME - ms = millis(); - static millis_t fan_kick_end = { 0 }; + static millis_t fan_kick_end = 0; if (speed) { - if (fan_kick_end == 0) { + 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; }