Skip to content

Conversation

hreintke
Copy link
Contributor

@bertmelis
When working on an example for the FunctionalInterrupt, I took yours from GPIOInterrupt as base.
However, could not get it to run correctly.

I think the signature of attachInterruptArg is wrong.
With the patch from this PR it works as expected.

Can you take a look ?

PS : Did not notice when creating FunctionalInterrupt as that implements it's own attach.

@hreintke hreintke changed the title InterruptArg should take voidFuncPtrArg as argument attachInterruptArg should take voidFuncPtrArg as argument Aug 20, 2018
@bertmelis
Copy link
Contributor

How could I have missed that?

@me-no-dev me-no-dev merged commit 5be3078 into espressif:master Sep 17, 2018
@me-no-dev
Copy link
Member

so sorry for the delay guys :(

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.

3 participants