Skip to content

Commit

Permalink
added flow control option
Browse files Browse the repository at this point in the history
  • Loading branch information
JFMSP committed May 21, 2024
1 parent 2b5ce63 commit f01c522
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/serial/uart_mspm0.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ static const struct uart_driver_api uart_mspm0_driver_api = {
{ \
.mode = DL_UART_MAIN_MODE_NORMAL, \
.direction = DL_UART_MAIN_DIRECTION_TX_RX, \
.flowControl = DL_UART_MAIN_FLOW_CONTROL_NONE, \
.flowControl = (DT_INST_PROP(index, hw_flow_control)? \
DL_UART_MAIN_FLOW_CONTROL_RTS_CTS : DL_UART_MAIN_FLOW_CONTROL_NONE), \
.parity = DL_UART_MAIN_PARITY_NONE, \
.wordLength = DL_UART_MAIN_WORD_LENGTH_8_BITS, \
.stopBits = DL_UART_MAIN_STOP_BITS_ONE, \
Expand Down

0 comments on commit f01c522

Please sign in to comment.