From 7d4a554e5908aef993f73a5c0a4e9aa97a64d5fe Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Tue, 19 Sep 2023 21:34:01 +0200 Subject: [PATCH] Fix USUART (#179) --- configs/FLYCOLORF7MINI/config.h | 2 +- configs/HGLRCF722MINI/config.h | 2 +- configs/SPEEDYBEEF405MINI/config.h | 4 ++-- configs/STELLARF7/config.h | 2 +- configs/{VEkTORF722 => VEKTORF722}/config.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) rename configs/{VEkTORF722 => VEKTORF722}/config.h (98%) diff --git a/configs/FLYCOLORF7MINI/config.h b/configs/FLYCOLORF7MINI/config.h index e2e2fd75..eb9bb488 100644 --- a/configs/FLYCOLORF7MINI/config.h +++ b/configs/FLYCOLORF7MINI/config.h @@ -113,7 +113,7 @@ #define DEFAULT_CURRENT_METER_SCALE 220 #define DEFAULT_CURRENT_METER_OFFSET -1300 -#define SERIALRX_UART SERIAL_PORT_USART4 +#define SERIALRX_UART SERIAL_PORT_UART4 #define PINIO1_BOX 40 #define PINIO2_BOX 41 diff --git a/configs/HGLRCF722MINI/config.h b/configs/HGLRCF722MINI/config.h index 94d611b7..d0f50c8a 100644 --- a/configs/HGLRCF722MINI/config.h +++ b/configs/HGLRCF722MINI/config.h @@ -95,7 +95,7 @@ #define ADC3_DMA_OPT 0 -#define MSP_UART SERIAL_PORT_USART5 +#define MSP_UART SERIAL_PORT_UART5 #define MAG_I2C_INSTANCE (I2CDEV_1) #define BARO_I2C_INSTANCE (I2CDEV_1) #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH diff --git a/configs/SPEEDYBEEF405MINI/config.h b/configs/SPEEDYBEEF405MINI/config.h index be49bd6f..4643637e 100644 --- a/configs/SPEEDYBEEF405MINI/config.h +++ b/configs/SPEEDYBEEF405MINI/config.h @@ -89,8 +89,8 @@ #define ADC1_DMA_OPT 0 #define SERIALRX_UART SERIAL_PORT_USART2 -#define MSP_UART SERIAL_PORT_USART4 -#define ESC_SENSOR_UART SERIAL_PORT_USART5 +#define MSP_UART SERIAL_PORT_UART4 +#define ESC_SENSOR_UART SERIAL_PORT_UART5 #define MAG_I2C_INSTANCE (I2CDEV_1) #define BARO_I2C_INSTANCE (I2CDEV_1) diff --git a/configs/STELLARF7/config.h b/configs/STELLARF7/config.h index 6a731fa1..efe90f87 100644 --- a/configs/STELLARF7/config.h +++ b/configs/STELLARF7/config.h @@ -91,7 +91,7 @@ #define SERIALRX_UART SERIAL_PORT_USART2 #define VTX_SMARTAUDIO_UART SERIAL_PORT_USART3 -#define GPS_UART SERIAL_PORT_USART5 +#define GPS_UART SERIAL_PORT_UART5 //TODO beacon RX_LOST //TODO beacon RX_SET diff --git a/configs/VEkTORF722/config.h b/configs/VEKTORF722/config.h similarity index 98% rename from configs/VEkTORF722/config.h rename to configs/VEKTORF722/config.h index 7589531e..af18bead 100644 --- a/configs/VEkTORF722/config.h +++ b/configs/VEKTORF722/config.h @@ -91,7 +91,7 @@ #define ADC3_DMA_OPT 0 -#define MSP_UART SERIAL_PORT_USART5 +#define MSP_UART SERIAL_PORT_UART5 #define MAG_I2C_INSTANCE (I2CDEV_1) #define BARO_I2C_INSTANCE (I2CDEV_1) #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH