Skip to content

reorder uart initialization before pin configuration #134

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 2 commits into from
Mar 2, 2020

Conversation

oclyke
Copy link
Contributor

@oclyke oclyke commented Feb 27, 2020

Addresses #132

//User may want to change settings mid-sketch. Only init UART if it's new.
if (_handle == NULL)
{
// Now that pins are initialized start the actual driver
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is now confusing. Could be removed.

@nseidle
Copy link
Member

nseidle commented Feb 27, 2020

Works well for me. I am seeing FAR fewer glitch characters at startup however I do see a few. Is there anything else we can do? I'm happy and ready for merge.

@oclyke oclyke merged commit eb4dc4e into master Mar 2, 2020
@oclyke oclyke deleted the uart-setup-order branch March 2, 2020 17:53
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