Skip to content

Return error-code for problem UART interface #285

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

Merged
merged 1 commit into from
Oct 11, 2018

Conversation

sam-bristow
Copy link
Contributor

Fix what appears to be a simple copy-paste duplication mistake in the UART clean-up error reporting code.

Rather than returning the error code for UART1 regardless of which
interface had problems, we should return the error code for the
interface that actually had an error.

Pretty sure this was a simple copy-paste mistake.
@pdp7
Copy link
Collaborator

pdp7 commented Oct 9, 2018

@sam-bristow thanks!

@pdp7 pdp7 merged commit b1ee599 into adafruit:master Oct 11, 2018
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