From 530229dd7dfdac6f8fc0037ee3ea2c8976ae8d08 Mon Sep 17 00:00:00 2001 From: MarkTan Date: Fri, 30 Jun 2023 17:43:58 +0800 Subject: [PATCH] Update target.h Modify pins of serial ports 3 and 5 --- src/main/target/AOCODARCF4V2/target.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/target/AOCODARCF4V2/target.h b/src/main/target/AOCODARCF4V2/target.h index 273a6d0691..5ad27e4657 100644 --- a/src/main/target/AOCODARCF4V2/target.h +++ b/src/main/target/AOCODARCF4V2/target.h @@ -81,16 +81,16 @@ #define UART2_RX_PIN PA3 #define USE_UART3 -#define UART3_TX_PIN PC11 -#define UART3_RX_PIN PC10 +#define UART3_TX_PIN PC10 +#define UART3_RX_PIN PC11 #define USE_UART4 #define UART4_TX_PIN PA0 #define UART4_RX_PIN PA1 #define USE_UART5 -#define UART5_TX_PIN PC12 -#define UART5_RX_PIN PD2 +#define UART5_TX_PIN PD2 +#define UART5_RX_PIN PC12 #define SERIAL_PORT_COUNT 6