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

rp2040: uart: check all pins before claiming any #9425

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

jepler
Copy link
Member

@jepler jepler commented Jul 12, 2024

also remove the comment that pin_init may raise an exception for an in-use pin; this is incorrect. The unclaimed status of all pins was verified in shared-bindings before calling construct.

closes #9424

remove the comment that pin_init may raise an exception for an in-use
pin; this is incorrect. The unclaimed status of all pins was verified
in shared-bindings before calling construct.
Co-authored-by: Dan Halbert <halbert@adafruit.com>
@jepler
Copy link
Member Author

jepler commented Jul 12, 2024

thanks for the fix and thanks for being gracious about a PR I obviously didn't do more than compile-test.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Tested works, thanks!

@dhalbert dhalbert merged commit dfbbbad into adafruit:main Jul 12, 2024
118 checks passed
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.

RP2040 busio.UART not freeing pin after detecting invalid pins
2 participants