Skip to content

Commit

Permalink
Remove redundant USE_ADC defines (betaflight#322)
Browse files Browse the repository at this point in the history
`USE_ADC` is already defined in targets.h for these configs
  • Loading branch information
ot0tot authored Feb 12, 2024
1 parent b09a5d3 commit 197f3c2
Show file tree
Hide file tree
Showing 83 changed files with 0 additions and 83 deletions.
1 change: 0 additions & 1 deletion configs/AOCODAF722BLE/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@

#define ADC3_DMA_OPT 0

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/AOCODARCF411_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO
#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF
#define USE_ADC
#define ADC_INSTANCE ADC1
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
Expand Down
1 change: 0 additions & 1 deletion configs/ARGUSF7AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@

#define ADC1_DMA_OPT 1

#define USE_ADC
#define ADC_INSTANCE ADC1
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
1 change: 0 additions & 1 deletion configs/BETAFPVF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
#define BARO_SPI_INSTANCE SPI3
#define DEFAULT_BARO_DEVICE BARO_NONE

#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
//TODO #define DSHOT_IDLE_VALUE 450
Expand Down
1 change: 0 additions & 1 deletion configs/BETAFPVF405_ELRS/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
#define BARO_SPI_INSTANCE SPI3
#define DEFAULT_BARO_DEVICE BARO_NONE

#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
//TODO #define DSHOT_IDLE_VALUE 450
Expand Down
1 change: 0 additions & 1 deletion configs/CCRCF435AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
TIMER_PIN_MAP(3, PA3, 1, 2) \
TIMER_PIN_MAP(4, PB1, 2, 3)

#define USE_ADC
#define ADC_INSTANCE ADC1
#define ADC1_DMA_OPT 11

Expand Down
1 change: 0 additions & 1 deletion configs/CYCLONEF405_PRO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@

#define MAG_I2C_INSTANCE (I2CDEV_1)

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/CYCLONEF722_PRO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/DAKEFPVF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@

#define BARO_SPI_INSTANCE SPI2

#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF
Expand Down
1 change: 0 additions & 1 deletion configs/DAKEFPVF722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@

#define ADC2_DMA_OPT 1

#define USE_ADC
#define ADC_INSTANCE ADC2
#define BARO_SPI_INSTANCE SPI2
#define FLASH_SPI_INSTANCE SPI3
Expand Down
1 change: 0 additions & 1 deletion configs/DALRCF722DUAL/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/DFR_F722_DUAL_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
#define MAG_I2C_INSTANCE (I2CDEV_2)

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/DYSF4PRO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
#define ADC2_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_2)
#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/EMAX_BABYHAWK_II_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1

//TODO #define SERIALRX_INVERTED OFF
#define USE_ADC
#define ADC_INSTANCE ADC1
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
1 change: 0 additions & 1 deletion configs/EXF722DUAL/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_2)

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/EXUAVF4PRO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
#define ADC2_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_2)
#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
1 change: 0 additions & 1 deletion configs/FF_RACEPIT/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
#define PINIO2_BOX 41
//TODO #define TLM_HALFDUPLEX OFF
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
1 change: 0 additions & 1 deletion configs/FF_RACEPIT_MINI/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
#define PINIO2_BOX 41
//TODO #define TLM_HALFDUPLEX OFF
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
1 change: 0 additions & 1 deletion configs/FLYCOLORF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
#define ADC3_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/FLYCOLORF7_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
#define ADC3_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/FLYWOOF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_OFF

#define USE_ADC
#define ADC_INSTANCE ADC1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
1 change: 0 additions & 1 deletion configs/FLYWOOF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON

#define USE_ADC
#define ADC_INSTANCE ADC1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
1 change: 0 additions & 1 deletion configs/FLYWOOF411EVO_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON

#define USE_ADC
#define ADC_INSTANCE ADC1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
1 change: 0 additions & 1 deletion configs/FLYWOOF7DUAL/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
1 change: 0 additions & 1 deletion configs/FOXEERF722DUAL/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
#define ADC3_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/FOXEERF722V2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
#define ADC3_DMA_OPT 0

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/FOXEERF722V3/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
#define ADC3_DMA_OPT 0

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/FOXEERF722V4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/GEMEF722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
#define ADC3_DMA_OPT 0


#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/GEPRCF722BT/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/GEPRCF722_BT_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
#define MAG_I2C_INSTANCE (I2CDEV_2)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/GEPRC_F722_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
#define MAG_I2C_INSTANCE (I2CDEV_2)
#define BARO_I2C_INSTANCE (I2CDEV_2)

#define USE_ADC
#define ADC_INSTANCE ADC3
//TODO #define BLACKBOX_P_RATIO 16
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
1 change: 0 additions & 1 deletion configs/GRAVITYF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BARO_I2C_ADDRESS 119
#define USE_ADC
#define ADC_INSTANCE ADC1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/HAKRCF405V2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define BEEPER_INVERTED
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
1 change: 0 additions & 1 deletion configs/HAKRCF411D/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define USE_ADC
#define ADC_INSTANCE ADC1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
1 change: 0 additions & 1 deletion configs/HAKRCF722V2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
#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
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/HAKRCF7230D/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@
#define MAG_I2C_INSTANCE (I2CDEV_1)
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
1 change: 0 additions & 1 deletion configs/HGLRCF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
#define BARO_SPI_INSTANCE SPI3
#define BARO_I2C_INSTANCE (I2CDEV_0)

#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_OFF
Expand Down
1 change: 0 additions & 1 deletion configs/HGLRCF405AS/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_2)
#define RX_SPI_INSTANCE SPI3
#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
1 change: 0 additions & 1 deletion configs/HGLRCF745/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
#define BARO_SPI_INSTANCE SPI1
#define USE_ADC
#define ADC_INSTANCE ADC1
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_OFF
Expand Down
1 change: 0 additions & 1 deletion configs/HIFIONRCF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@

#define ADC3_DMA_OPT 1

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/HOBBYWING_XROTORF4G3/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
#define ADC2_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_2)
#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/HOBBYWING_XROTORF7CONV/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@
#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
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/IFLIGHT_F722_TWING/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@
#define BARO_I2C_INSTANCE (I2CDEV_2)
#define MAG_I2C_INSTANCE (I2CDEV_2)

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/IFLIGHT_SUCCEX_E_F7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
#define BARO_I2C_INSTANCE (I2CDEV_2)
#define MAG_I2C_INSTANCE (I2CDEV_2)

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/JBF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_2)

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/JBF7_DJI/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_2)

#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/JHEF7DUAL/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@

#define USE_BARO
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
Expand Down
1 change: 0 additions & 1 deletion configs/JMIF722A/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@

#define ADC1_DMA_OPT 1

#define USE_ADC
#define ADC_INSTANCE ADC1
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
Expand Down
1 change: 0 additions & 1 deletion configs/LUXF4OSD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
#define ADC2_DMA_OPT 1

#define MAG_I2C_INSTANCE (I2CDEV_2)
#define USE_ADC
#define ADC_INSTANCE ADC2
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
Expand Down
Loading

0 comments on commit 197f3c2

Please sign in to comment.