mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-12 17:27:54 -06:00
heater: Do not flush look-ahead queue on a heater temperature update
The print_time parameter of heater.set_temp() is not currently used and it isn't necessary to flush the look-ahead queue just get the print_time. Remove the parameter from heater.set_temp() to avoid flushing the look-ahead queue. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
dabffcc22c
commit
4b6a65c1e0
4 changed files with 10 additions and 15 deletions
|
@ -20,8 +20,7 @@ class PrinterHeaterBed:
|
|||
gcode = self.printer.lookup_object('gcode')
|
||||
temp = gcode.get_float('S', params, 0.)
|
||||
toolhead = self.printer.lookup_object('toolhead')
|
||||
print_time = toolhead.get_last_move_time()
|
||||
self.heater.set_temp(print_time, temp)
|
||||
self.heater.set_temp(temp)
|
||||
if wait and temp:
|
||||
gcode.wait_for_temperature(self.heater)
|
||||
def cmd_M190(self, params):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue