Skip to content
Commit 67b4055d authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Dan Kalowsky
Browse files

drivers: gpio: rpi_pico: fix call to gpio_set_dir



Ensure gpio_set_dir() receives GPIO_IN or GPIO_OUT by mapping
INIT_{LOW,HIGH} flags explicitly, instead of passing raw bitmasks.

Signed-off-by: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent d1fc8c7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment