Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interrupt port initialization when there is IOError exception (#15239)
Fixes #15226 Summary of the issue: Driver continued port initialization retries although there was IOError exception. Description of user facing changes Port initialization is stopped when there is IOError exception. Description of development approach If there is IoError exception, _initPort function returns None which causes _initConnection function to raise RuntimeError. No need to try with 9600 bps, and there is no other port to try.
- Loading branch information
1 parent
7b6e071
commit 186a8d7
Showing
2 changed files
with
29 additions
and
28 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