Skip to content
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

Mac and bsd fix _update_break_state #367

Merged
merged 3 commits into from
Aug 13, 2019

Conversation

klanmiko
Copy link
Contributor

Fixes #366

These values were pulled from the system <ioctl.h> headers on mac. As such this should allow the .break_condition to be set on mac and bsd based systems.

I implemented this functionality by duplicating the code within the two platform specific sections for 'darwin' and 'bsd'.

@klanmiko klanmiko changed the title Mac break ioctl Mac and bsd fix _update_break_condition Jul 15, 2018
@klanmiko klanmiko changed the title Mac and bsd fix _update_break_condition Mac and bsd fix _update_break_state Jul 15, 2018
@BobSki778
Copy link

This appears to also fix #103.

@zsquareplusc zsquareplusc merged commit 4f6666b into pyserial:master Aug 13, 2019
@zsquareplusc
Copy link
Member

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

_update_break_state is broken on mac due to wrong ioctl value
3 participants