Skip to content

Commit 6b36d8f

Browse files
committed
Fix typo
More detals here: arduino/ArduinoCore-avr#466
1 parent ecb12fa commit 6b36d8f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

HardwareSerial_private.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,15 @@
6767
// UART0 for the other UARTs as well, in case these values ever get
6868
// changed for future hardware.
6969
#if defined(TXC1) && (TXC1 != TXC0 || RXEN1 != RXEN0 || RXCIE1 != RXCIE0 || \
70-
UDRIE1 != UDRIE0 || U2X1 != U2X0 || UPE1 != UPE0 || \
71-
UDRE1 != UDRE0)
70+
UDRIE1 != UDRIE0 || U2X1 != U2X0 || UPE1 != UPE0 || UDRE1 != UDRE0)
7271
#error "Not all bit positions for UART1 are the same as for UART0"
7372
#endif
7473
#if defined(TXC2) && (TXC2 != TXC0 || RXEN2 != RXEN0 || RXCIE2 != RXCIE0 || \
75-
UDRIE2 != UDRIE0 || U2X2 != U2X0 || UPE2 != UPE0 || \
76-
UDRE2 != UDRE0)
74+
UDRIE2 != UDRIE0 || U2X2 != U2X0 || UPE2 != UPE0 || UDRE2 != UDRE0)
7775
#error "Not all bit positions for UART2 are the same as for UART0"
7876
#endif
7977
#if defined(TXC3) && (TXC3 != TXC0 || RXEN3 != RXEN0 || RXCIE3 != RXCIE0 || \
80-
UDRIE3 != UDRIE0 || U3X3 != U3X0 || UPE3 != UPE0 || \
81-
UDRE3 != UDRE0)
78+
UDRIE3 != UDRIE0 || U2X3 != U2X0 || UPE3 != UPE0 || UDRE3 != UDRE0)
8279
#error "Not all bit positions for UART3 are the same as for UART0"
8380
#endif
8481

0 commit comments

Comments
 (0)