Skip to content

Commit d9d26c0

Browse files
committed
correct XIAO M0 uart pin definition
1 parent 5d377c1 commit d9d26c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

variants/XIAO_m0/variant.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ extern SERCOM sercom5;
166166

167167
// Serial1
168168
extern Uart Serial1;
169-
#define PIN_SERIAL1_RX (6ul)
170-
#define PIN_SERIAL1_TX (7ul)
169+
#define PIN_SERIAL1_TX (6ul)
170+
#define PIN_SERIAL1_RX (7ul)
171171
#define PAD_SERIAL1_TX (UART_TX_PAD_0)
172172
#define PAD_SERIAL1_RX (SERCOM_RX_PAD_1)
173173
#endif // __cplusplus

0 commit comments

Comments
 (0)