Skip to content
Commit dd8cb232 authored by Francois Ramu's avatar Francois Ramu Committed by Fabio Baltieri
Browse files

tests: drivers: gpio basic pass testcase when test pin_get is not defined



When the CONFIG_GPIO_GET_CONFIG is set, even if the driver does not
provide the pin_get_config function, it is supposed to return -ENOSYS
error code (see zephyr/include/zephyr/drivers/gpio.h)
The testcase should accept this code and PASS.
(ENOTSUP is not the right value to check).

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent cb196fe0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment