Skip to content

Commit 720747f

Browse files
authored
fix(uart): missing class qualifier declaration
1 parent 667dcac commit 720747f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/HardwareSerial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ bool HardwareSerial::setMode(SerialMode mode) {
617617
// UART_CLK_SRC_REF_TICK :: ESP32 and ESP32-S2
618618
// Note: CLK_SRC_PLL Freq depends on the SoC - ESP32-C2 has 40MHz, ESP32-H2 has 48MHz and ESP32-C5, C6, C61 and P4 has 80MHz
619619
// Note: ESP32-C6, C61, ESP32-P4 and ESP32-C5 have LP UART that will use only RTC_FAST or XTAL/2 as Clock Source
620-
bool setClockSource(SerialClkSrc clkSrc) {
620+
bool HardwareSerial::setClockSource(SerialClkSrc clkSrc) {
621621
return uartSetClockSource(_uart, (uart_sclk_t) clkSrc);
622622
}
623623

0 commit comments

Comments
 (0)