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

Make interrupt macro and fix SCL pin type for I2C #31

Merged
merged 2 commits into from
Jul 19, 2020

Conversation

dkm
Copy link
Contributor

@dkm dkm commented Jul 19, 2020

This PR brings 2 changes, I can split them if needed.

dkm added 2 commits July 19, 2020 15:48
This is needed for proper use of #[interrupt] macro to override default handler
of device specific interrupt handlers.
The macro i2c_pins was probably copied from the uart one.
The type for the SCL pin was also changed from OutputMode to OD<Floating>.
@thejpster
Copy link
Member

Nah, that's cool. Thanks.

@thejpster thejpster merged commit 7255859 into rust-embedded-community:master Jul 19, 2020
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