Skip to content

Commit 513d67f

Browse files
authored
feat(uart): adds option for UART_CLK_SRC_DEFAULT
1 parent d8526f8 commit 513d67f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/esp32/HardwareSerial.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ typedef enum {
9797
} hardwareSerial_error_t;
9898

9999
typedef enum {
100+
UART_CLK_SRC_DEFAULT = -1,
100101
#if SOC_UART_SUPPORT_APB_CLK
101102
UART_CLK_SRC_APB = SOC_MOD_CLK_APB,
102103
#endif

0 commit comments

Comments
 (0)