mirror of https://github.com/Desuuuu/klipper.git
heaters: Fix TEMPERATURE_WAIT command with extruder and heater_bed
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
a59461e20e
commit
a637c2f110
|
@ -332,7 +332,10 @@ class PrinterHeaters:
|
|||
min_temp = gcmd.get_float('MINIMUM')
|
||||
if self.printer.get_start_args().get('debugoutput') is not None:
|
||||
return
|
||||
sensor = self.printer.lookup_object(sensor_name)
|
||||
if sensor_name in self.heaters:
|
||||
sensor = self.heaters[sensor_name]
|
||||
else:
|
||||
sensor = self.printer.lookup_object(sensor_name)
|
||||
toolhead = self.printer.lookup_object("toolhead")
|
||||
reactor = self.printer.get_reactor()
|
||||
eventtime = reactor.monotonic()
|
||||
|
|
Loading…
Reference in New Issue