Skip to content

Commit 10b2e6b

Browse files
committed
Add defined check
1 parent bd2c119 commit 10b2e6b

File tree

1 file changed

+1
-1
lines changed
  • ports/espressif/common-hal/microcontroller

1 file changed

+1
-1
lines changed

ports/espressif/common-hal/microcontroller/Pin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static const uint64_t pin_mask_reset_forbidden =
6262
GPIO_SEL_18 | // USB D-
6363
GPIO_SEL_19 | // USB D+
6464
#endif
65-
#if CONFIG_ESP_CONSOLE_UART_DEFAULT && CONFIG_ESP_CONSOLE_UART_NUM == 0
65+
#if defined(CONFIG_ESP_CONSOLE_UART_DEFAULT) && CONFIG_ESP_CONSOLE_UART_DEFAULT && CONFIG_ESP_CONSOLE_UART_NUM == 0
6666
// Never reset debug UART/console pins.
6767
GPIO_SEL_20 |
6868
GPIO_SEL_21 |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy