diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-10-01 11:43:27 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-10-01 11:43:27 -0400 |
commit | 96cceed23efc7a3759ecfba0a228cdcb4d5244d3 (patch) | |
tree | acd3302cddd1b6e709d8a35f6bdf087bf058b40f /klippy | |
parent | 8f361a15b2c13f532f6ea16db448f749dcc408d3 (diff) | |
download | kutter-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')
-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 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) |