Skip to content

Commit 43d6a02

Browse files
authored
Add SPI DPS310 baro define (BETAFPVF405_ELRS) (#856)
* Add SPI DPS310 baro define (BETAFPVF405_ELRS * Remove BARO none define
1 parent 5bd6742 commit 43d6a02

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

configs/BETAFPVF405_ELRS/config.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#define USE_ACCGYRO_BMI270
3636
#define USE_BARO
3737
#define USE_BARO_SPI_BMP280
38+
#define USE_BARO_SPI_DPS310
3839
#define USE_FLASH
3940
#define USE_FLASH_W25Q128FV
4041
#define USE_MAX7456
@@ -92,11 +93,9 @@
9293
TIMER_PIN_MAP( 7, PA8 , 1, -1)
9394

9495
#define ADC2_DMA_OPT 1
95-
96+
#define ADC_INSTANCE ADC2
9697
#define BARO_SPI_INSTANCE SPI3
97-
#define DEFAULT_BARO_DEVICE BARO_NONE
9898

99-
#define ADC_INSTANCE ADC2
10099
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
101100
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_OFF
102101
#define MOTOR_PWM_PROTOCOL DSHOT300

0 commit comments

Comments
 (0)