mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-08 06:16:01 +01:00
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>
This commit is contained in:
@@ -71,7 +71,7 @@ class Fan:
|
|||||||
def set_speed_from_command(self, value):
|
def set_speed_from_command(self, value):
|
||||||
self.gcrq.queue_gcode_request(value)
|
self.gcrq.queue_gcode_request(value)
|
||||||
def _handle_request_restart(self, print_time):
|
def _handle_request_restart(self, print_time):
|
||||||
self.set_speed(print_time, 0.)
|
self.set_speed(0., print_time)
|
||||||
|
|
||||||
def get_status(self, eventtime):
|
def get_status(self, eventtime):
|
||||||
tachometer_status = self.tachometer.get_status(eventtime)
|
tachometer_status = self.tachometer.get_status(eventtime)
|
||||||
|
|||||||
Reference in New Issue
Block a user