Skip to content

Commit adced0c

Browse files
iandmorrisdkalowsk
authored andcommitted
drivers: serial: fix renesas ra sci uart hardware flow control enable
Fixed typo in Renesas RA SCI UART configuration that was preventing hardware flow control from being enabled. Signed-off-by: Ian Morris <[email protected]>
1 parent 0d1a788 commit adced0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/serial/uart_renesas_ra_sci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ static void uart_ra_sci_eri_isr(const struct device *dev)
11801180
.parity = UART_CFG_PARITY_NONE, \
11811181
.stop_bits = UART_CFG_STOP_BITS_1, \
11821182
.data_bits = UART_CFG_DATA_BITS_8, \
1183-
.flow_ctrl = COND_CODE_1(DT_NODE_HAS_PROP(idx, hw_flow_control), \
1183+
.flow_ctrl = COND_CODE_1(DT_INST_PROP(index, hw_flow_control), \
11841184
(UART_CFG_FLOW_CTRL_RTS_CTS), \
11851185
(UART_CFG_FLOW_CTRL_NONE)), \
11861186
}, \

0 commit comments

Comments
 (0)