We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd2c119 commit 10b2e6bCopy full SHA for 10b2e6b
ports/espressif/common-hal/microcontroller/Pin.c
@@ -62,7 +62,7 @@ static const uint64_t pin_mask_reset_forbidden =
62
GPIO_SEL_18 | // USB D-
63
GPIO_SEL_19 | // USB D+
64
#endif
65
- #if CONFIG_ESP_CONSOLE_UART_DEFAULT && CONFIG_ESP_CONSOLE_UART_NUM == 0
+ #if defined(CONFIG_ESP_CONSOLE_UART_DEFAULT) && CONFIG_ESP_CONSOLE_UART_DEFAULT && CONFIG_ESP_CONSOLE_UART_NUM == 0
66
// Never reset debug UART/console pins.
67
GPIO_SEL_20 |
68
GPIO_SEL_21 |
0 commit comments