Skip to content

Commit cdeb4d9

Browse files
SuGliderCopilot
andauthored
fix(uart): commentary typo error
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ade185b commit cdeb4d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ static bool _uartTrySetIomuxPin(uart_port_t uart_num, int io_num, uint32_t idx)
329329

330330
static esp_err_t _uartInternalSetPin(uart_port_t uart_num, int tx_io_num, int rx_io_num, int rts_io_num, int cts_io_num) {
331331
// Since an IO cannot route peripheral signals via IOMUX and GPIO matrix at the same time,
332-
// if tx and rx share the same IO, both signals need to be route to IOs through GPIO matrix
332+
// if tx and rx share the same IO, both signals need to be routed to IOs through GPIO matrix
333333
bool tx_rx_same_io = (tx_io_num == rx_io_num);
334334

335335
/* In the following statements, if the io_num is negative, no need to configure anything. */

0 commit comments

Comments
 (0)