Skip to content

Commit

Permalink
Merge pull request #125 from iory/ics
Browse files Browse the repository at this point in the history
Fixed baudrate settings for 115200 and 625000
  • Loading branch information
iory authored Dec 2, 2024
2 parents 205a891 + 627115a commit 644a5aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rcb4/ics.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ def open_connection(self):
timeout=self.timeout,
parity=serial.PARITY_EVEN,
)
if baudrate != self.baudrate:
current_baudrate = self.baud()
if current_baudrate != self.baudrate:
self.baud(self.baudrate)
return True
except IndexError:
Expand Down

0 comments on commit 644a5aa

Please sign in to comment.