Skip to content

Commit

Permalink
Merge pull request #743 from blurfl/Clearer-message-for-Connection-Ti…
Browse files Browse the repository at this point in the history
…med-Out-

Add text to Connection Timed Out alert
  • Loading branch information
MaslowCommunityGardenRobot authored Jul 24, 2018
2 parents ab20b58 + 9e1d9ad commit 7ad8661
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Connection/serialPortThread.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ def getmessage (self):
self.data.message_queue.put("Connection Timed Out\n")
if self.data.uploadFlag:
self.data.message_queue.put("Message: USB connection lost. This has likely caused the machine to loose it's calibration, which can cause erratic behavior. It is recommended to stop the program, remove the sled, and perform the chain calibration process. Press Continue to override and proceed with the cut.")
else:
self.data.message_queue.put("It is possible that the serial port selected is not the one used by the Maslow's Arduino,\nor that the firmware is not loaded on the Arduino.")
self.data.connectionStatus = 0
self.serialInstance.close()
return
Expand Down

0 comments on commit 7ad8661

Please sign in to comment.