From dc176873faa8c4ec1dec4b0a985a9bcb9da4f593 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Mon, 11 Aug 2025 17:00:43 +0200 Subject: [PATCH 1/2] Add SPI DPS310 baro define (BETAFPVF405_ELRS --- configs/BETAFPVF405_ELRS/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/BETAFPVF405_ELRS/config.h b/configs/BETAFPVF405_ELRS/config.h index 265dd9181..02950b359 100644 --- a/configs/BETAFPVF405_ELRS/config.h +++ b/configs/BETAFPVF405_ELRS/config.h @@ -35,6 +35,7 @@ #define USE_ACCGYRO_BMI270 #define USE_BARO #define USE_BARO_SPI_BMP280 +#define USE_BARO_SPI_DPS310 #define USE_FLASH #define USE_FLASH_W25Q128FV #define USE_MAX7456 From 8422fd78ef0e33d366a18a82e75889e5192bda74 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Mon, 11 Aug 2025 17:27:54 +0200 Subject: [PATCH 2/2] Remove BARO none define --- configs/BETAFPVF405_ELRS/config.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configs/BETAFPVF405_ELRS/config.h b/configs/BETAFPVF405_ELRS/config.h index 02950b359..7fba0d22b 100644 --- a/configs/BETAFPVF405_ELRS/config.h +++ b/configs/BETAFPVF405_ELRS/config.h @@ -93,11 +93,9 @@ TIMER_PIN_MAP( 7, PA8 , 1, -1) #define ADC2_DMA_OPT 1 - +#define ADC_INSTANCE ADC2 #define BARO_SPI_INSTANCE SPI3 -#define DEFAULT_BARO_DEVICE BARO_NONE -#define ADC_INSTANCE ADC2 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_DSHOT_BURST DSHOT_DMAR_OFF #define MOTOR_PWM_PROTOCOL DSHOT300