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

remove common_hal_pwmio_pwmout_never_reset and remaining pwmout_reset #8991

Draft
wants to merge 1 commit into
base: main
Choose a base branch
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.

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
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.

None yet

2 participants