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

serial.c:setup_baud_rate doesn't support all Linux baud rates #21378

Open
ThomasKuehne opened this issue Dec 18, 2021 · 0 comments · May be fixed by #21379
Open

serial.c:setup_baud_rate doesn't support all Linux baud rates #21378

ThomasKuehne opened this issue Dec 18, 2021 · 0 comments · May be fixed by #21379

Comments

@ThomasKuehne
Copy link
Contributor

setup_baud_rate doesn't support all Linux baud rates

Current Behavior

setup_baud_rate treats following baud rates as custom_baud_rate = TRUE
B500000
B576000
B1000000
B1152000
B1500000
B2000000
B2500000
B3000000
B3500000
B4000000

Expected Behavior

setup_baud_rate treats these baud rates as custom_baud_rate = FALSE

On which platforms did you notice this

[ ] macOS
[X] Linux
[ ] Windows

Version Used:
Mono JIT compiler version 6.12.0.122 (tarball Sat Nov 20 13:34:48 CET 2021)

ThomasKuehne added a commit to ThomasKuehne/mono that referenced this issue Dec 18, 2021
Fixes mono#21378 by adding missing baud rates to setup_baud_rate

This change is released under the MIT license.
@ThomasKuehne ThomasKuehne linked a pull request Dec 18, 2021 that will close this issue
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 a pull request may close this issue.

1 participant