Add defined check

This commit is contained in:
Scott Shawcroft 2023-05-15 13:04:12 -07:00
parent bd2c1198d9
commit 10b2e6bb4a
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA

View File

@ -62,7 +62,7 @@ static const uint64_t pin_mask_reset_forbidden =
GPIO_SEL_18 | // USB D- GPIO_SEL_18 | // USB D-
GPIO_SEL_19 | // USB D+ GPIO_SEL_19 | // USB D+
#endif #endif
#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
// Never reset debug UART/console pins. // Never reset debug UART/console pins.
GPIO_SEL_20 | GPIO_SEL_20 |
GPIO_SEL_21 | GPIO_SEL_21 |