chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23b6972
)
Repetier sends "wait" when idle, so we never get an empty line
author
hg42@gmx.net
<hg42@gmx.net>
Sun, 5 Jan 2014 14:35:59 +0000
(15:35 +0100)
committer
hg42@gmx.net
<hg42@gmx.net>
Sun, 5 Jan 2014 14:35:59 +0000
(15:35 +0100)
--HG--
extra : source :
9dcdee7cf6656d62e960da1f10d9ab4fd8d83a97
Cura/util/machineCom.py
patch
|
blob
|
history
diff --git
a/Cura/util/machineCom.py
b/Cura/util/machineCom.py
index 5dced0983c2a1fa5cf49926cc5f51ea44bafa24b..f00875ff6b43e5ab8b64c8e2c733088e49657e92 100644
(file)
--- a/
Cura/util/machineCom.py
+++ b/
Cura/util/machineCom.py
@@
-400,7
+400,7
@@
class MachineCom(object):
else:
self._testingBaudrate = False
elif self._state == self.STATE_CONNECTING:
- if line == ''
:
+ if line == ''
or 'wait' in line: # wait needed for Repetier (kind of watchdog)
self._sendCommand("M105")
elif 'ok' in line:
self._changeState(self.STATE_OPERATIONAL)