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

Fix listen return mode and relax pin constraint #139

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

AdinAck
Copy link
Contributor

@AdinAck AdinAck commented Sep 17, 2024

The listen function for GPIO pins had a return type of P<Input<PushPull>> which to my understanding is a nonsensical pin mode.

Additionally, the body of the function forced the pin to be a floating input, but EXTI works with pins in any mode, so the original mode should persist.

@usbalbin usbalbin merged commit 67b13be into stm32-rs:main Sep 18, 2024
23 checks passed
@usbalbin
Copy link
Contributor

Thanks :)

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