Skip to content
Commit 47cf5d29 authored by Peter Bigot's avatar Peter Bigot Committed by Johan Hedberg
Browse files

tests: drivers: gpio_basic_api: fix deprecated API level test



Some boards don't support level interrupts; respect their rejection of
the configuration.

Also correct the code intended to disable the interrupt from within
the callback when level triggers are tested.  Note that the legacy
call emulation does not work: it's necessary to add a flag that causes
the interrupt to be disabled.

Also improve a diagnostic and fix the exit path for a failure detected
before the callback was installed.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent dc1edb94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment