Skip to content

Commit 31a2fe5

Browse files
committed
Fix definition for UART3
1 parent 90b79cc commit 31a2fe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/arduino/Serial.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ UART UART2(SERIAL2_TX, SERIAL2_RX, NC, NC);
128128
#if SERIAL_HOWMANY > 2
129129

130130
#ifdef SERIAL3_RTS
131-
UART UART1(SERIAL3_TX, SERIAL3_RX, SERIAL3_RTS, SERIAL3_CTS);
131+
UART UART3(SERIAL3_TX, SERIAL3_RX, SERIAL3_RTS, SERIAL3_CTS);
132132
#else
133-
UART UART1(SERIAL3_TX, SERIAL3_RX, NC, NC);
133+
UART UART3(SERIAL3_TX, SERIAL3_RX, NC, NC);
134134
#endif
135135

136136
#endif

0 commit comments

Comments
 (0)