Skip to content

nrf: Use common implementation of machine disable/enable IRQ. #17213

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dpgeorge
Copy link
Member

Summary

This is a breaking change due to the signature change of enable_irq(). Previously the signature was:

machine.enable_irq()

Now the signature matches other ports, and the docs, and is:

machine.enable_irq(state)

Where state is the return value from machine.disable_irq().

Testing

Tested on ARDUINO_NANO_33_BLE_SENSE. That board now passes the tests/extmod/machine_disable_irq.py test.

This is a breaking change due to the signature change of `enable_irq()`.
Previously the signature was:

    machine.enable_irq()

Now the signature matches other ports, and the docs, and is:

    machine.enable_irq(state)

Where `state` is the return value from `machine.disable_irq()`.

Signed-off-by: Damien George <damien@micropython.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant