Skip to content

Commit

Permalink
Send Blank Line on Serial Startup
Browse files Browse the repository at this point in the history
For some reason, the first command send when the serial connection
starts up seems to be ignored.  Work around is just to send a blank
line
  • Loading branch information
krkeegan committed Aug 31, 2017
1 parent 47fdba6 commit 6c934aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Connection/serialPortThread.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def getmessage (self):
#print "port open?:"
#print self.serialInstance.isOpen()
self.lastMessageTime = time.time()
self.data.gcode_queue.put(' ') # send a blank line on startup
self.data.connectionStatus = 1

self._getFirmwareVersion()
Expand Down

0 comments on commit 6c934aa

Please sign in to comment.