You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[lightning-ln882h] Fix GPIO interrupt support (#326)
* fix interrupt handling for the ln882h
- all GPIOS can generate interrupts
- added calls to NVIC_SetPriority/NVIC_EnableIRQ/NVIC_DisableIRQ
* fix clang formatting error
* only call NVIC_DisableIRQ if no other gpio is using an interrupt
* fix (again) clang-format errors
* add IRQ capability on all pins
* don't bother with NVIC_DisableIRQ
* use pin->gpio instead of interruptNumber, use macro GPIO_GET_PORT for clarity
* Mark interrupts as supported for the LN882H
---------
Co-authored-by: lamauny <[email protected]>
0 commit comments