diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-09-15 00:17:35 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-09-18 13:59:07 -0400 |
commit | 87ac69363aecd51c282999f8bf0f5c3513f58ed2 (patch) | |
tree | 3d9cbecdefad81d7300cc79592d73757d214ff25 | |
parent | 5731d964b6998032a86ed1a8acf004ebdd13773c (diff) | |
download | kutter-87ac69363aecd51c282999f8bf0f5c3513f58ed2.tar.gz kutter-87ac69363aecd51c282999f8bf0f5c3513f58ed2.tar.xz kutter-87ac69363aecd51c282999f8bf0f5c3513f58ed2.zip |
fan: Wait full kick_start_time even if request is for full speed
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | klippy/extras/fan.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/fan.py b/klippy/extras/fan.py index 5d9a7873..14769473 100644 --- a/klippy/extras/fan.py +++ b/klippy/extras/fan.py @@ -57,7 +57,7 @@ class Fan: 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 |