xtensa/esp32: Allow pin to be configured as Input and Output simultaneously

This commit is contained in:
Gustavo Henrique Nihei
2021-03-03 19:20:26 -03:00
committed by Abdelatif Guettouche
parent 210a77de93
commit 9c366aad94
+1 -1
View File
@@ -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)
{