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

Moves claiming of sm to init; destructor frees pio resources. #352

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MarcusGarfunkel
Copy link

  • Describe the scope of your change--i.e. what the change does and what parts
    of the code were modified.
    This will help us understand any risks of integrating
    the code.
    I've moved the claiming of a pio state machine from the constructor to the rp2040Init function.
    I've added the necessary unclaiming sm functions to the destructor, dependent on whether the init function had been called.

  • Describe any known limitations with your change. For example if the change
    doesn't apply to a supported platform of the library please mention it.
    No know limitations.

  • Please run any tests or examples that can exercise your modified code. We
    strive to not break users of the code and running tests/examples helps with this
    process.
    I've tested this myself, but I'd recommend testing with your examples.

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