xtensa/esp32: Allow pin to be configured as Input and Output simultaneously
This commit is contained in:
parent
210a77de93
commit
9c366aad94
|
@ -196,7 +196,7 @@ int esp32_configgpio(int pin, gpio_pinattr_t attr)
|
|||
|
||||
/* Handle output pins */
|
||||
|
||||
else if ((attr & OUTPUT) != 0)
|
||||
if ((attr & OUTPUT) != 0)
|
||||
{
|
||||
if (pin < 32)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue