From 1c0adb9af88411116a4980636e8070ae1decd457 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 21 Sep 2024 15:29:47 -0400 Subject: output_pin: Support setting a TEMPLATE on SET_PIN commands Signed-off-by: Kevin O'Connor --- klippy/extras/fan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/extras/fan.py') diff --git a/klippy/extras/fan.py b/klippy/extras/fan.py index 14769473..0fc88a37 100644 --- a/klippy/extras/fan.py +++ b/klippy/extras/fan.py @@ -67,7 +67,7 @@ class Fan: self.last_fan_value = self.last_req_value = value self.mcu_fan.set_pwm(print_time, value) def set_speed(self, print_time, value): - self.gcrq.send_async_request(print_time, value) + self.gcrq.send_async_request(value, print_time) def set_speed_from_command(self, value): self.gcrq.queue_gcode_request(value) def _handle_request_restart(self, print_time): -- cgit v1.2.3-70-g09d2