-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove support for threaded IO from rs232.SerialData #148
Conversation
use anyway, and we may be able to use newer features in PySerial to achieve the same result.
Codecov Report
@@ Coverage Diff @@
## develop #148 +/- ##
=======================================
Coverage 80.6% 80.6%
=======================================
Files 36 36
Lines 2527 2527
Branches 319 319
=======================================
Hits 2037 2037
Misses 386 386
Partials 104 104 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works as expected with an Arduino attached. One caveat is that we need to change the write
call to have a newline so that it conforms with the new PACE code, but that should be a separate PR>
def __init__(self, | ||
port=None, | ||
baudrate=115200, | ||
threaded=None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm temped to say we should just add a *args, **kwargs
and remove the threaded=None
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to rip out the param as soon as the PACE code is merged in here, as that way we don't accidentally accept bogus params.
Merged in develop. Please review once travis is done, and merge into develop if OK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
It wasn't in use, complicates testing, and we may be able
to use newer features in PySerial toachieve the same result.