mirror of
git://soft.sys114.com/klipper
synced 2026-02-11 10:00:25 +09:00
heater: Move M105 command handling from gcode.py to heater.py
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -167,7 +167,7 @@ class PrinterExtruder:
|
||||
heater = extruder.get_heater()
|
||||
heater.set_temp(temp)
|
||||
if wait and temp:
|
||||
gcode.wait_for_temperature(heater)
|
||||
self.printer.lookup_object('heater').wait_for_temperature(heater)
|
||||
def cmd_M109(self, params):
|
||||
# Set Extruder Temperature and Wait
|
||||
self.cmd_M104(params, wait=True)
|
||||
|
||||
Reference in New Issue
Block a user