Skip to content

Commit

Permalink
pymavlink: fixed reopen of serial ports
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Tridgell committed Jan 13, 2014
1 parent be801db commit d813ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymavlink/mavutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ def reset(self):
self.port.close()
while True:
try:
self.port = serial.Serial(self.device, self.baud, timeout=1,
self.port = serial.Serial(self.device, self.baud, timeout=0,
dsrdtr=False, rtscts=False, xonxoff=False)
try:
self.fd = self.port.fileno()
Expand Down

0 comments on commit d813ab9

Please sign in to comment.