Skip to content

Conversation

@dhalbert
Copy link
Collaborator

busio.I2C() became a class with a finaliser in #9671, but it also needed __del__() to be defined for the finaliser to work properly.

Tested on a Metro RP2040, a PyPortal, and a Pico 2.

@dhalbert dhalbert requested a review from tannewt October 10, 2024 16:17
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thanks! Good find!

@tannewt tannewt merged commit 0509ed2 into adafruit:main Oct 10, 2024
554 checks passed
@dhalbert dhalbert deleted the i2c-del branch October 15, 2024 17:34
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.

RP2350 does not reset i2c peripheral upon reload

2 participants