Merge branch 'mrbeam' of https://github.com/mrbeam/OctoPrint into mrbeam
This commit is contained in:
commit
5c8d491fb8
1 changed files with 4 additions and 0 deletions
|
|
@ -377,6 +377,10 @@ class MachineCom(object):
|
|||
self._send_event.clear(completely=True)
|
||||
self._changeState(self.STATE_LOCKED)
|
||||
|
||||
# close and open serial port to reset arduino
|
||||
self._serial.close()
|
||||
self._openSerial()
|
||||
|
||||
def _handle_feedback_message(self, line):
|
||||
if line[1:].startswith('Res'): # [Reset to continue]
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in a new issue