8000 remove common_hal_pwmio_pwmout_never_reset and remaining pwmout_reset by dhalbert · Pull Request #8991 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

remove common_hal_pwmio_pwmout_never_reset and remaining pwmout_reset #8991

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

Closed
wants to merge 1 commit into from

Conversation

dhalbert
Copy link
Collaborator
@dhalbert dhalbert commented Feb 29, 2024

Finishes remaining needed removals from #8966 and #8990 (comment), and some other unused code.

Retested #8985 on MEMENTO: no regression.

@dhalbert dhalbert requested a review from tannewt February 29, 2024 15:34
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.

Sorry for misleading you on this. I think we do need the indirect pin never_reset calls. We can remove these once the blanket pin reset is removed too.

#endif


void common_hal_pwmio_pwmout_never_reset(pwmio_pwmout_obj_t *self) {
never_reset_pin_number(self->pin->number);
Copy link
Member

Choose a reason for hiding this comment

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

This is why we still need this. Or at least, we need to replace the pwm never_reset with pin never_reset.

@dhalbert
Copy link
Collaborator Author

Since this is innocuous, and we probably don't want to do the pin never-reset removal for 9.0.0, I can make this a draft and mark it 9.x.x.

@dhalbert dhalbert marked this pull request as draft February 29, 2024 18:24
@dhalbert dhalbert added this to the 9.x.x milestone Feb 29, 2024
@dhalbert
Copy link
Collaborator Author
dhalbert commented Jul 2, 2024

Closing in favor of issue #8960.

@dhalbert dhalbert closed this Jul 2, 2024
@dhalbert dhalbert deleted the remove-pwmout-never-reset branch June 20, 2025 15:12
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
0