Skip to content

Use cfsetspeed(3) to set UART speed to fix tcsetattr: Range error#118

Open
saper wants to merge 1 commit intoboundarydevices:masterfrom
saper:cfsetspeed
Open

Use cfsetspeed(3) to set UART speed to fix tcsetattr: Range error#118
saper wants to merge 1 commit intoboundarydevices:masterfrom
saper:cfsetspeed

Conversation

@saper
Copy link

@saper saper commented Nov 2, 2020

Some systems keep the speed outside of the cflags.

On FreeBSD, tcsetattr fails with ERANGE this way.

Some systems keep the speed outside of the cflags.

On FreeBSD, tcsetattr fails with ERANGE this way.
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.

1 participant