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:
Kevin O'Connor 2018-01-03 10:33:10 -05:00
parent e4129a7e53
commit a0b4cdb5c4
1 changed files with 1 additions and 1 deletions

View File

@ -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: