-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial: make baud rate configurable and return object
This makes the baudrate configurable and makes the opened serial port accessible - so different parts of the test can share and use this single object and avoid conflicts accessing the port. Also adds error handling for when the port can't be opened Change-type: patch Signed-off-by: Ryan Cooke <[email protected]>
- Loading branch information
1 parent
04497d8
commit d2f83a6
Showing
2 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters