Skip to content

Commit 382ec89

Browse files
committed
Arrange pin definitions in proper order
1 parent d1740f4 commit 382ec89

File tree

1 file changed

+4
-4
lines changed
  • targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/TARGET_MTS_DRAGONFLY_F413RH

1 file changed

+4
-4
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/TARGET_MTS_DRAGONFLY_F413RH/PinNames.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ typedef enum {
132132
LED4 = D3,
133133
LED_RED = LED1,
134134
BUTTON1 = NC,
135-
// STDIO for console print
136-
STDIO_UART_TX = USBTX,
137-
STDIO_UART_RX = USBRX,
138135
SERIAL_TX = D1,
139136
SERIAL_RX = D0,
140137
SERIAL_RTS = D3,
@@ -144,7 +141,10 @@ typedef enum {
144141
SERIAL_DTR = D7,
145142
SERIAL_RI = D8,
146143
USBTX = PB_6,
147-
USBRX = PB_7,
144+
USBRX = PB_7,
145+
// STDIO for console print
146+
STDIO_UART_TX = USBTX,
147+
STDIO_UART_RX = USBRX,
148148
RADIO_TX = PC_6,
149149
RADIO_RX = PC_7,
150150
RADIO_RTS = PB_10,

0 commit comments

Comments
 (0)