mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-24 23:24:01 -06:00
output_pin: Support setting a TEMPLATE on SET_PIN commands
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
8a7a39530e
commit
1c0adb9af8
3 changed files with 35 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue