fixed position update bug after grbl flashing

This commit is contained in:
make-ing 2015-09-09 12:45:24 +02:00
parent bb964b3d75
commit d37ce77460

View file

@ -879,6 +879,7 @@ class MachineCom(object):
if returnCode == False:
self._log("successfully flashed new grbl version")
self._openSerial()
self._changeState(self.STATE_CONNECTING)
else:
self._log("error during flashing of new grbl version")
self._errorValue = "avrdude returncode: %s" % returnCode