Commit 1a670029 authored by Andrew Dalgleish's avatar Andrew Dalgleish

printcore - send the initial M105 using _send instead of send_now

send_now can't be used until the printer is online.
parent 0ae7e1fe
...@@ -90,7 +90,8 @@ class printcore(): ...@@ -90,7 +90,8 @@ class printcore():
""" """
self.clear=True self.clear=True
time.sleep(1.0) time.sleep(1.0)
self.send_now("M105") if (not self.online and not self.printing):
self._send("M105")
while(True): while(True):
if(not self.printer or not self.printer.isOpen): if(not self.printer or not self.printer.isOpen):
break break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment