Skip to content

Commit

Permalink
Remove USE_BARO defines where no specific hardware is defined (#201)
Browse files Browse the repository at this point in the history
* Remove USE_BARO defines where no specific hardware is defined

Per https://discord.com/channels/868013470023548938/924169278926770207/1168257438416375919

One liner: `sed -i '/BARO/d' $(grep -L USE_BARO_ $(grep -
lR USE_BARO ./*))`

* Don't remove baro define

Baro define added in #233
  • Loading branch information
ot0tot authored Nov 21, 2023
1 parent e4cd2aa commit a0de8b9
Show file tree
Hide file tree
Showing 91 changed files with 0 additions and 195 deletions.
2 changes: 0 additions & 2 deletions configs/AIRBOTF7HDV/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@

#define ADC1_DMA_OPT 1

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
2 changes: 0 additions & 2 deletions configs/ALIENFLIGHTF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@
#define MAG_ALIGN_PITCH 1800
#define MAG_ALIGN_YAW 1800
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
//TODO #define SPEKTRUM_SAT_BIND 9
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
2 changes: 0 additions & 2 deletions configs/AOCODAF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@
#define ADC1_DMA_OPT 0

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
2 changes: 0 additions & 2 deletions configs/AOCODAF722BLE/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@

#define ADC3_DMA_OPT 0

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
2 changes: 0 additions & 2 deletions configs/ARESF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@

#define ADC1_DMA_OPT 1

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_2)

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
2 changes: 0 additions & 2 deletions configs/ATOMRCF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@

#define ADC1_DMA_OPT 1

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
2 changes: 0 additions & 2 deletions configs/ATOMRCF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@

#define ADC1_DMA_OPT 1

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
Expand Down
2 changes: 0 additions & 2 deletions configs/ATOMRCF722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@

#define ADC1_DMA_OPT 0

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
2 changes: 0 additions & 2 deletions configs/BEEROTORF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@
#define SPI3_RX_DMA_OPT 0
#define ADC1_DMA_OPT 0

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_OFF
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
3 changes: 0 additions & 3 deletions configs/BETAFPVF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@

#define ADC1_DMA_OPT 1

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BARO_DEVICE BARO_NONE

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO
Expand Down
3 changes: 0 additions & 3 deletions configs/BETAFPVF722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
#define ADC_RSSI_PIN PC2
#define ADC_CURR_PIN PC1
#define FLASH_CS_PIN PB12
#define BARO_CS_PIN PC13
#define MAX7456_SPI_CS_PIN PA15
#define GYRO_1_EXTI_PIN PC4
#define GYRO_2_EXTI_PIN PB2
Expand All @@ -94,8 +93,6 @@

#define ADC1_DMA_OPT 0

#define USE_BARO
#define BARO_SPI_INSTANCE SPI3

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
//TODO #define DSHOT_IDLE_VALUE 450
Expand Down
2 changes: 0 additions & 2 deletions configs/BLUEJAYF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@
#define ADC1_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define BEEPER_INVERTED
Expand Down
2 changes: 0 additions & 2 deletions configs/CLRACINGF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@
#define ADC1_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_2)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
2 changes: 0 additions & 2 deletions configs/CYCLONEF405_PRO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@
#define ADC3_DMA_OPT 0

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define USE_ADC
#define ADC_INSTANCE ADC3
Expand Down
2 changes: 0 additions & 2 deletions configs/DFR_F722_DUAL_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@
#define ADC3_DMA_OPT 0

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_2)
#define MAG_I2C_INSTANCE (I2CDEV_2)

#define USE_ADC
Expand Down
3 changes: 0 additions & 3 deletions configs/DRONIUSF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@
#define ADC1_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BARO_I2C_ADDRESS 119

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
2 changes: 0 additions & 2 deletions configs/DYSF44530D/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@
#define SPI3_TX_DMA_OPT 1
#define ADC1_DMA_OPT 0

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
2 changes: 0 additions & 2 deletions configs/DYSF4PRO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@
#define ADC2_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_2)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_2)
#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
2 changes: 0 additions & 2 deletions configs/ELINF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@

#define ADC1_DMA_OPT 1

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

//TODO #define SERIALRX_HALFDUPLEX ON
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
2 changes: 0 additions & 2 deletions configs/ELINF722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@

#define ADC1_DMA_OPT 1

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

//TODO #define SERIALRX_HALFDUPLEX ON
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
2 changes: 0 additions & 2 deletions configs/EXUAVF4PRO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@
#define ADC2_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_2)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_2)
#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
2 changes: 0 additions & 2 deletions configs/FLYCOLORF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@
#define ADC3_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
2 changes: 0 additions & 2 deletions configs/FLYCOLORF7_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@
#define ADC3_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
2 changes: 0 additions & 2 deletions configs/FLYWOOF411EVO_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@
#define ADC1_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON

#define USE_ADC
Expand Down
2 changes: 0 additions & 2 deletions configs/FLYWOOF411HEX/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@
#define ADC1_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
2 changes: 0 additions & 2 deletions configs/FLYWOOF411_5IN1_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@
#define ADC1_DMA_OPT 0

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define RX_SPI_DEFAULT_PROTOCOL RX_SPI_FRSKY_D
#define RX_SPI_INSTANCE SPI3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
2 changes: 0 additions & 2 deletions configs/FOXEERF722DUAL/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@
#define ADC3_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
2 changes: 0 additions & 2 deletions configs/FOXEERF722V2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@
#define ADC3_DMA_OPT 0

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
2 changes: 0 additions & 2 deletions configs/FOXEERF722V3/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@
#define ADC3_DMA_OPT 0

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
2 changes: 0 additions & 2 deletions configs/FOXEERF745V2_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@
#define MAG_ALIGN CW180_DEG
#define MAG_ALIGN_YAW 1800
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
2 changes: 0 additions & 2 deletions configs/FOXEERF745V3_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@
#define MAG_ALIGN CW180_DEG
#define MAG_ALIGN_YAW 1800
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
2 changes: 0 additions & 2 deletions configs/FOXEERF745_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@
#define MAG_ALIGN CW180_DEG
#define MAG_ALIGN_YAW 1800
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
3 changes: 0 additions & 3 deletions configs/FPVM_BETAFLIGHTF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
#define ADC_VBAT_PIN PC3
#define ADC_RSSI_PIN PC5
#define ADC_CURR_PIN PC2
#define BARO_CS_PIN PA1
#define FLASH_CS_PIN PE4
#define MAX7456_SPI_CS_PIN PB12
#define GYRO_1_EXTI_PIN PD0
Expand Down Expand Up @@ -97,8 +96,6 @@
#define ADC1_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_2)
#define USE_BARO
#define BARO_SPI_INSTANCE SPI1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
Expand Down
2 changes: 0 additions & 2 deletions configs/FURYF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@
#define ADC1_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define BEEPER_INVERTED
Expand Down
2 changes: 0 additions & 2 deletions configs/GEELANGF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@
#define ADC1_DMA_OPT 0

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO
Expand Down
2 changes: 0 additions & 2 deletions configs/GEMEF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@

#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_ON
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH

#define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO
Expand Down
2 changes: 0 additions & 2 deletions configs/GEPRCF411_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO
#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define DEFAULT_CURRENT_METER_SCALE 100
Expand Down
2 changes: 0 additions & 2 deletions configs/GEPRCF411_PRO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@

#define ADC1_DMA_OPT 1

#define USE_BARO
#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
Expand Down
2 changes: 0 additions & 2 deletions configs/GEPRCF722_BT_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
#define MAG_I2C_INSTANCE (I2CDEV_2)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_2)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
Expand Down
2 changes: 0 additions & 2 deletions configs/GEPRCF745_BT_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

//TODO #define BLACKBOX_SAMPLE_RATE 1/1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
Expand Down
2 changes: 0 additions & 2 deletions configs/GEP_F405_VTX_V3/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@
#define ADC1_DMA_OPT 1
#define ADC2_DMA_OPT 1

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_2)

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
2 changes: 0 additions & 2 deletions configs/HAKRCF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@

#define ADC1_DMA_OPT 1

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
Loading

0 comments on commit a0de8b9

Please sign in to comment.