From cf70b4e80af168afa1685a22bdff7f9aec5d4034 Mon Sep 17 00:00:00 2001 From: Teja Date: Thu, 20 Aug 2015 15:34:20 +0200 Subject: [PATCH] bugfix. fan must be switched on before any gcode file is streamed. --- src/octoprint/util/comm_acc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/octoprint/util/comm_acc.py b/src/octoprint/util/comm_acc.py index 00a3654c..6431fe88 100644 --- a/src/octoprint/util/comm_acc.py +++ b/src/octoprint/util/comm_acc.py @@ -528,9 +528,11 @@ class MachineCom(object): #self.sendCommand("$H") # homing here results in invalid GCode ID33 on G02/03 commands. WTF? #self.sendCommand("G92X0Y0Z0") #self.sendCommand("G90") - #self.sendCommand("M08") #self.sendCommand("G21") + # ensure fan is on whatever gcode follows. + self.sendCommand("M08") + self._currentFile.start() self._changeState(self.STATE_PRINTING)