Skip to content

Commit

Permalink
fan: Fix restart request handling
Browse files Browse the repository at this point in the history
The change in parameter order introduced in commit f4143af failed to
update the call _handle_request_restart() code.

Signed-off-by: Kevin O'Connor <[email protected]>
  • Loading branch information
KevinOConnor committed Oct 1, 2024
1 parent 8f361a1 commit 96cceed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klippy/extras/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 96cceed

Please sign in to comment.