Skip to content

Commit 4f88db2

Browse files
fix(uart): Update comment
Co-authored-by: Jan Procházka <[email protected]>
1 parent 05d9ab5 commit 4f88db2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-uart.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ uart_t* uartBegin(uint8_t uart_nr, uint32_t baudrate, uint32_t config, int8_t rx
439439
// invert signal for both Rx and Tx
440440
retCode &= ESP_OK == uart_set_line_inverse(uart_nr, UART_SIGNAL_TXD_INV | UART_SIGNAL_RXD_INV);
441441
} else {
442-
// invert signal for both Rx and Tx
442+
// disable invert signal for both Rx and Tx
443443
retCode &= ESP_OK == uart_set_line_inverse(uart_nr, UART_SIGNAL_INV_DISABLE);
444444
}
445445
}

0 commit comments

Comments
 (0)