Skip to content

lib/utils/mpirq: Add mp_irq_init func, and clean up unused init method. #6404

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
Sep 4, 2020

Conversation

dpgeorge
Copy link
Member

@dpgeorge dpgeorge commented Sep 4, 2020

mp_irq_init() is useful when the IRQ object is allocated by the caller.

The mp_irq_methods_t.init method is not used anywhere so has been removed (can easily be re-added if it's needed in the future).

Splits out work done in #6343

mp_irq_init() is useful when the IRQ object is allocated by the caller.

The mp_irq_methods_t.init method is not used anywhere so has been removed.

Signed-off-by: Damien George <damien@micropython.org>
@dpgeorge dpgeorge merged commit 3ff7079 into micropython:master Sep 4, 2020
@dpgeorge dpgeorge deleted the lib-mpirq-cleanup branch September 4, 2020 04:07
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.

1 participant