gcode: Don't wait for temperature if the temperature is disabled
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
e4129a7e53
commit
a0b4cdb5c4
|
@ -270,7 +270,7 @@ class GCodeParser:
|
|||
heater.set_temp(print_time, temp)
|
||||
except heater.error as e:
|
||||
raise error(str(e))
|
||||
if wait:
|
||||
if wait and temp:
|
||||
self.bg_temp(heater)
|
||||
def set_fan_speed(self, speed):
|
||||
if self.fan is None:
|
||||
|
|
Loading…
Reference in New Issue