Skip to content
Commit 623c915a authored by Vitor Massaru Iha's avatar Vitor Massaru Iha Committed by Anas Nashif
Browse files

drivers: pinmux: esp32: Fix using gpio as IO at the same time.



Since PINMUX_INPUT_ENABLED == 1 and PINMUX_OUTPUT_ENABLED == 0,
we can not set a gpio port as input and output at the same time,

So we always set the gpio as input. Thus, the gpio can be used on
I2C drivers for example.

Signed-off-by: default avatarVitor Massaru Iha <vitor@massaru.org>
parent c2bf3af1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment