From 96cceed23efc7a3759ecfba0a228cdcb4d5244d3 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 1 Oct 2024 11:43:27 -0400 Subject: [PATCH] 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 --- 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 37b531badfdf..c5677ba068a3 100644 --- a/klippy/extras/fan.py +++ b/klippy/extras/fan.py @@ -71,7 +71,7 @@ def set_speed(self, value, print_time=None): 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)