samd21: Restore pin cfg when exti is disabled
authorKeith Packard <keithp@keithp.com>
Sun, 13 Nov 2022 03:37:23 +0000 (19:37 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 13 Nov 2022 03:37:23 +0000 (19:37 -0800)
commit479bf2d88544f7f848ae42f77b0fbb74ca61ca27
tree7a0f5c100119bbf8f7df676b2270b5dddae38916
parent1cdcaea940864bbe531b32f228bc169b50f4d3a9
samd21: Restore pin cfg when exti is disabled

Instead of clearing the pmux, set it back to the previous value as is
needed by ms5607.

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