8000 ports/espressif/bindings/espcamera/Camera.c: add finaliser by dhalbert · Pull Request #8990 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

ports/espressif/bindings/espcamera/Camera.c: add finaliser #8990

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 1 commit into from
Feb 29, 2024

Conversation

dhalbert
Copy link
Collaborator

espcamera object needed to have a finaliser, so it could deinit the PWMOut it uses.

@tannewt Should this "never reset" be removed, in line with #8966?

common_hal_pwmio_pwmout_never_reset(&self->backlight_pwm);

@tannewt
Copy link
Member
tannewt commented Feb 29, 2024

Ya, all pwmout_never_reset should be removed. I must have missed it.

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.

Thank you!

@tannewt tannewt merged commit f4166ce into adafruit:main Feb 29, 2024
@dhalbert dhalbert deleted the espcamera-finaliser branch February 29, 2024 15:14
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.

calling tone causes runtime error
2 participants
0