mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
a110x: trigger ISR on both edges
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
2695ef3361
commit
74d625c797
@ -70,7 +70,7 @@ void A110X::installISR(void (*isr)(void *), void *arg)
|
|||||||
uninstallISR();
|
uninstallISR();
|
||||||
|
|
||||||
// install our interrupt handler
|
// install our interrupt handler
|
||||||
mraa_gpio_isr(m_gpio, MRAA_GPIO_EDGE_FALLING,
|
mraa_gpio_isr(m_gpio, MRAA_GPIO_EDGE_BOTH,
|
||||||
isr, arg);
|
isr, arg);
|
||||||
m_isrInstalled = true;
|
m_isrInstalled = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user