Re: error when registering an ISR
Posted: Tue Mar 19, 2019 1:25 pm
quackmore wrote:nope
don't think so
ETS_GPIO_INTR_ATTACH expects a function and a function parameter
check out the interrupt function declaration
or try forcing a cast
this is a working exampleCode: Select allstatic void input_pulse(struct di_seq *seq);
{
...
struct di_seq *seq;
...
ETS_GPIO_INTR_ATTACH((ets_isr_t)input_pulse, seq);
...
}
This is correct, I was misthinking....