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 committed 2018-01-03 10:33:10 -05:00
1 parent e4129a7e53
commit a0b4cdb5c4
1 file changed
+1 -1
+1 -1
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: