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

Return correct error code in uarte start_read #280

Merged
merged 1 commit into from
Jan 4, 2021

Conversation

lulf
Copy link
Contributor

@lulf lulf commented Jan 4, 2021

From reading the code, it seems to me that the wrong error code is returned when the provided rx_buffer u8::max size check fails.

@jonas-schievink
Copy link
Contributor

Thanks!

@jonas-schievink jonas-schievink merged commit f46119f into nrf-rs:master Jan 4, 2021
@lulf lulf deleted the uarte-rx-buffer-error branch January 5, 2021 08:00
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.

None yet

2 participants