From 87ac69363aecd51c282999f8bf0f5c3513f58ed2 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 15 Sep 2024 00:17:35 -0400 Subject: [PATCH] fan: Wait full kick_start_time even if request is for full speed Signed-off-by: Kevin O'Connor --- klippy/extras/fan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/extras/fan.py b/klippy/extras/fan.py index 5d9a7873aa97..14769473a371 100644 --- a/klippy/extras/fan.py +++ b/klippy/extras/fan.py @@ -57,7 +57,7 @@ def _apply_speed(self, print_time, value): self.enable_pin.set_digital(print_time, 1) elif value == 0 and self.last_fan_value > 0: self.enable_pin.set_digital(print_time, 0) - if (value and value < self.max_power and self.kick_start_time + if (value and self.kick_start_time and (not self.last_fan_value or value - self.last_fan_value > .5)): # Run fan at full speed for specified kick_start_time self.last_req_value = value