From 70bae5ce7a35f279be86ed13d9b84f6a6b5097c2 Mon Sep 17 00:00:00 2001 From: YI-BOYANG <46438966+YI-BOYANG@users.noreply.github.com> Date: Thu, 18 Jan 2024 19:42:01 +0800 Subject: [PATCH] Update GEPRCF405_BT_HD (#304) --- configs/GEPRCF405_BT_HD/config.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configs/GEPRCF405_BT_HD/config.h b/configs/GEPRCF405_BT_HD/config.h index da7d45b8..608c2a81 100644 --- a/configs/GEPRCF405_BT_HD/config.h +++ b/configs/GEPRCF405_BT_HD/config.h @@ -31,6 +31,7 @@ #define USE_ACC_SPI_ICM42688P #define USE_BARO #define USE_BARO_BMP280 +#define USE_BARO_DPS310 #define USE_GYRO #define USE_GYRO_SPI_MPU6000 #define USE_GYRO_SPI_ICM42688P @@ -46,7 +47,8 @@ #define MOTOR4_PIN PC8 #define MOTOR5_PIN PC9 #define MOTOR6_PIN PB0 -#define MOTOR7_PIN PB1 +#define MOTOR7_PIN PB10 +#define MOTOR8_PIN PB11 #define RX_PPM_PIN PC7 #define LED_STRIP_PIN PB1 #define UART1_TX_PIN PB6 @@ -103,15 +105,16 @@ #define ADC3_DMA_OPT 0 #define MSP_UART SERIAL_PORT_UART5 -#define SERIALRX_UART SERIAL_PORT_USART6 +#define SERIALRX_UART SERIAL_PORT_USART2 //TODO aux 0 0 0 1700 2100 0 0 #define MAG_I2C_INSTANCE (I2CDEV_1) -#define BARO_I2C_INSTANCE (I2CDEV_2) +#define BARO_I2C_INSTANCE (I2CDEV_1) #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC +#define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO #define DEFAULT_CURRENT_METER_SCALE 179 #define BEEPER_INVERTED #define SYSTEM_HSE_MHZ 8