gcode: Don't warn on fan not present if input is from a file

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2017-10-11 14:28:19 -04:00
parent 6a2eaeae40
commit ecf2596469
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class GCodeParser:
self.bg_temp(heater)
def set_fan_speed(self, speed):
if self.fan is None:
if speed:
if speed and not self.is_fileinput:
self.respond_info("Fan not configured")
return
print_time = self.toolhead.get_last_move_time()