Add defined check
This commit is contained in:
parent
bd2c1198d9
commit
10b2e6bb4a
@ -62,7 +62,7 @@ static const uint64_t pin_mask_reset_forbidden =
|
||||
GPIO_SEL_18 | // USB D-
|
||||
GPIO_SEL_19 | // USB D+
|
||||
#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.
|
||||
GPIO_SEL_20 |
|
||||
GPIO_SEL_21 |
|
||||
|
Loading…
Reference in New Issue
Block a user