Skip to content
Commit 581f7565 authored by Markus Lassila's avatar Markus Lassila Committed by Benjamin Cabé
Browse files

drivers: gpio_nrfx: Free channel when changing mode



Fix an issue where calling gpio_pin_interrupt_configure
with edge mode and later calling it with level mode, did
not release the allocated gpiote channel.

Repeating the above sequence caused us to run out of
gpiote channels.

Signed-off-by: default avatarMarkus Lassila <markus.lassila@nordicsemi.no>
parent b155c0dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment