aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/fan.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2024-10-01 11:43:27 -0400
committerKevin O'Connor <kevin@koconnor.net>2024-10-01 11:43:27 -0400
commit96cceed23efc7a3759ecfba0a228cdcb4d5244d3 (patch)
treeacd3302cddd1b6e709d8a35f6bdf087bf058b40f /klippy/extras/fan.py
parent8f361a15b2c13f532f6ea16db448f749dcc408d3 (diff)
downloadkutter-96cceed23efc7a3759ecfba0a228cdcb4d5244d3.tar.gz
kutter-96cceed23efc7a3759ecfba0a228cdcb4d5244d3.tar.xz
kutter-96cceed23efc7a3759ecfba0a228cdcb4d5244d3.zip
fan: Fix restart request handling
The change in parameter order introduced in commit f4143af4 failed to update the call _handle_request_restart() code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/fan.py')
-rw-r--r--klippy/extras/fan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/fan.py b/klippy/extras/fan.py
index 37b531ba..c5677ba0 100644
--- a/klippy/extras/fan.py
+++ b/klippy/extras/fan.py
@@ -71,7 +71,7 @@ class Fan:
def set_speed_from_command(self, value):
self.gcrq.queue_gcode_request(value)
def _handle_request_restart(self, print_time):
- self.set_speed(print_time, 0.)
+ self.set_speed(0., print_time)
def get_status(self, eventtime):
tachometer_status = self.tachometer.get_status(eventtime)