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

Semantic of mraa_uart_set_timeout with zero read timeout unclear #1072

Open
jan-kiszka opened this issue Jul 14, 2021 · 0 comments
Open

Semantic of mraa_uart_set_timeout with zero read timeout unclear #1072

jan-kiszka opened this issue Jul 14, 2021 · 0 comments

Comments

@jan-kiszka
Copy link
Contributor

The documentation states "<= 0 will disable that timeout" (for all timeout values but. as we know, only read is implemented so far). Now, does disabling mean non-blocking or infinite blocking? Implemented is the former, @johnson325 once wrote a change (siemens@a1bee1d#diff-e8bb0dd62dcd38efa1cafbb258e5b0a4a46624f361b3ec05329a4e10d08bccf0L675) for our patch queue that assumed the latter. Trying to sort this out right now.

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

No branches or pull requests

1 participant