Skip to content

Commit

Permalink
fix(uart): Update comment
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Procházka <[email protected]>
  • Loading branch information
me-no-dev and P-R-O-C-H-Y authored Jul 1, 2024
1 parent 05d9ab5 commit 4f88db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/esp32/esp32-hal-uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ uart_t* uartBegin(uint8_t uart_nr, uint32_t baudrate, uint32_t config, int8_t rx
// invert signal for both Rx and Tx
retCode &= ESP_OK == uart_set_line_inverse(uart_nr, UART_SIGNAL_TXD_INV | UART_SIGNAL_RXD_INV);
} else {
// invert signal for both Rx and Tx
// disable invert signal for both Rx and Tx
retCode &= ESP_OK == uart_set_line_inverse(uart_nr, UART_SIGNAL_INV_DISABLE);
}
}
Expand Down

0 comments on commit 4f88db2

Please sign in to comment.