samd21: Save interrupt pin status before enabling interrupts
authorKeith Packard <keithp@keithp.com>
Sun, 13 Nov 2022 06:48:28 +0000 (22:48 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 13 Nov 2022 08:17:32 +0000 (00:17 -0800)
commit1bf40aa4c9ea9844046b7b84342225274622d7c2
treebcbfdd6231c3335698b8a6964b47afed7db63bd6
parent8c0a7dfa4ba4b46dabce0ac7daecf0edd5fb6b62
samd21: Save interrupt pin status before enabling interrupts

Make sure we capture the correct external interrupt pin state before
anything changes.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/samd21/ao_exti_samd21.c