Skip to content

Commit 4b975f9

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 9dacdf9 commit 4b975f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/ESP32/examples/Serial/RxTimeout_Demo/RxTimeout_Demo.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
then copy the data from the FIFO to the Arduino internal buffer, making it available to the Arduino API.
2323
2424
There is an important detail about how HardwareSerial works using ESP32 and ESP32-S2:
25-
If the baud rate is lower than 250,000, it will select REF_TICK as clock source in order to avoid that
26-
the baud rate may change when the CPU Frequency is changed. Default UART clock source is APB, which changes
25+
If the baud rate is lower than 250,000, it will select REF_TICK as clock source in order to avoid that
26+
the baud rate may change when the CPU Frequency is changed. Default UART clock source is APB, which changes
2727
when CPU clock source is also changed. But when it selects REF_TICK as UART clock source, RX Timeout is limited to 1.
2828
Therefore, in order to change the ESP32/ESP32-S2 RX Timeout it is necessary to fix the UART Clock Source to APB.
2929

0 commit comments

Comments
 (0)