aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/fan.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2024-09-21 15:29:47 -0400
committerKevin O'Connor <kevin@koconnor.net>2024-09-30 12:23:24 -0400
commit1c0adb9af88411116a4980636e8070ae1decd457 (patch)
tree4220acf59bb34fe80ef14dc0b6e029aecebe77c1 /klippy/extras/fan.py
parent8a7a39530ee7bc7acfbe8bb30e5ff5189dac0f3f (diff)
downloadkutter-1c0adb9af88411116a4980636e8070ae1decd457.tar.gz
kutter-1c0adb9af88411116a4980636e8070ae1decd457.tar.xz
kutter-1c0adb9af88411116a4980636e8070ae1decd457.zip
output_pin: Support setting a TEMPLATE on SET_PIN commands
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 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):