Skip to content

Commit a8d1067

Browse files
Unswap CTS/RTS enable on SeriaUART (#2052)
Fixes #2047
1 parent 22139df commit a8d1067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/rp2040/SerialUART.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ void SerialUART::begin(unsigned long baud, uint16_t config) {
201201
break;
202202
}
203203
uart_set_format(_uart, bits, stop, parity);
204-
uart_set_hw_flow(_uart, _rts != UART_PIN_NOT_DEFINED, _cts != UART_PIN_NOT_DEFINED);
204+
uart_set_hw_flow(_uart, _cts != UART_PIN_NOT_DEFINED, _rts != UART_PIN_NOT_DEFINED);
205205
_writer = 0;
206206
_reader = 0;
207207

0 commit comments

Comments
 (0)