Skip to content

Return correct error code in uarte start_read#280

Merged
jonas-schievink merged 1 commit into
nrf-rs:masterfrom
lulf:uarte-rx-buffer-error
Jan 4, 2021
Merged

Return correct error code in uarte start_read#280
jonas-schievink merged 1 commit into
nrf-rs:masterfrom
lulf:uarte-rx-buffer-error

Conversation

@lulf
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants