diff --git a/configs/AOCODAF722BLE/config.h b/configs/AOCODAF722BLE/config.h index a11dd7ff..28776088 100644 --- a/configs/AOCODAF722BLE/config.h +++ b/configs/AOCODAF722BLE/config.h @@ -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 diff --git a/configs/AOCODARCF411_AIO/config.h b/configs/AOCODARCF411_AIO/config.h index 579cbaae..286d42f8 100644 --- a/configs/AOCODARCF411_AIO/config.h +++ b/configs/AOCODARCF411_AIO/config.h @@ -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 diff --git a/configs/ARGUSF7AIO/config.h b/configs/ARGUSF7AIO/config.h index 61643400..c62b3ccd 100644 --- a/configs/ARGUSF7AIO/config.h +++ b/configs/ARGUSF7AIO/config.h @@ -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 diff --git a/configs/BETAFPVF405/config.h b/configs/BETAFPVF405/config.h index 93ce84b6..15a6685c 100644 --- a/configs/BETAFPVF405/config.h +++ b/configs/BETAFPVF405/config.h @@ -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 diff --git a/configs/BETAFPVF405_ELRS/config.h b/configs/BETAFPVF405_ELRS/config.h index 603ffaf7..4ac448b4 100644 --- a/configs/BETAFPVF405_ELRS/config.h +++ b/configs/BETAFPVF405_ELRS/config.h @@ -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 diff --git a/configs/CCRCF435AIO/config.h b/configs/CCRCF435AIO/config.h index 30c71b98..07951723 100644 --- a/configs/CCRCF435AIO/config.h +++ b/configs/CCRCF435AIO/config.h @@ -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 diff --git a/configs/CYCLONEF405_PRO/config.h b/configs/CYCLONEF405_PRO/config.h index 3c83e20a..385ed883 100644 --- a/configs/CYCLONEF405_PRO/config.h +++ b/configs/CYCLONEF405_PRO/config.h @@ -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 diff --git a/configs/CYCLONEF722_PRO/config.h b/configs/CYCLONEF722_PRO/config.h index 1837ee60..f1ea92dc 100644 --- a/configs/CYCLONEF722_PRO/config.h +++ b/configs/CYCLONEF722_PRO/config.h @@ -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 diff --git a/configs/DAKEFPVF405/config.h b/configs/DAKEFPVF405/config.h index 9c4ba718..e0ff6898 100644 --- a/configs/DAKEFPVF405/config.h +++ b/configs/DAKEFPVF405/config.h @@ -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 diff --git a/configs/DAKEFPVF722/config.h b/configs/DAKEFPVF722/config.h index 9c81bd94..531b6e60 100644 --- a/configs/DAKEFPVF722/config.h +++ b/configs/DAKEFPVF722/config.h @@ -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 diff --git a/configs/DALRCF722DUAL/config.h b/configs/DALRCF722DUAL/config.h index 84b56d01..20a71c0d 100644 --- a/configs/DALRCF722DUAL/config.h +++ b/configs/DALRCF722DUAL/config.h @@ -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 diff --git a/configs/DFR_F722_DUAL_HD/config.h b/configs/DFR_F722_DUAL_HD/config.h index 1a7d09d7..09d3cf8b 100644 --- a/configs/DFR_F722_DUAL_HD/config.h +++ b/configs/DFR_F722_DUAL_HD/config.h @@ -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 diff --git a/configs/DYSF4PRO/config.h b/configs/DYSF4PRO/config.h index 120ef68c..392bd79c 100644 --- a/configs/DYSF4PRO/config.h +++ b/configs/DYSF4PRO/config.h @@ -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 diff --git a/configs/EMAX_BABYHAWK_II_HD/config.h b/configs/EMAX_BABYHAWK_II_HD/config.h index 8317715a..b33b36a2 100644 --- a/configs/EMAX_BABYHAWK_II_HD/config.h +++ b/configs/EMAX_BABYHAWK_II_HD/config.h @@ -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 diff --git a/configs/EXF722DUAL/config.h b/configs/EXF722DUAL/config.h index 6ad81625..1f1fdf5d 100644 --- a/configs/EXF722DUAL/config.h +++ b/configs/EXF722DUAL/config.h @@ -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 diff --git a/configs/EXUAVF4PRO/config.h b/configs/EXUAVF4PRO/config.h index b55eb375..a33fff8e 100644 --- a/configs/EXUAVF4PRO/config.h +++ b/configs/EXUAVF4PRO/config.h @@ -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 diff --git a/configs/FF_RACEPIT/config.h b/configs/FF_RACEPIT/config.h index 3c4f2130..e6d7aae3 100644 --- a/configs/FF_RACEPIT/config.h +++ b/configs/FF_RACEPIT/config.h @@ -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 diff --git a/configs/FF_RACEPIT_MINI/config.h b/configs/FF_RACEPIT_MINI/config.h index 615f49a3..8f2789b5 100644 --- a/configs/FF_RACEPIT_MINI/config.h +++ b/configs/FF_RACEPIT_MINI/config.h @@ -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 diff --git a/configs/FLYCOLORF7/config.h b/configs/FLYCOLORF7/config.h index 6acb5fb8..f19ae697 100644 --- a/configs/FLYCOLORF7/config.h +++ b/configs/FLYCOLORF7/config.h @@ -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 diff --git a/configs/FLYCOLORF7_AIO/config.h b/configs/FLYCOLORF7_AIO/config.h index 1f093a0c..6f252db7 100644 --- a/configs/FLYCOLORF7_AIO/config.h +++ b/configs/FLYCOLORF7_AIO/config.h @@ -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 diff --git a/configs/FLYWOOF405/config.h b/configs/FLYWOOF405/config.h index 9dab70b6..7fb944d3 100644 --- a/configs/FLYWOOF405/config.h +++ b/configs/FLYWOOF405/config.h @@ -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 diff --git a/configs/FLYWOOF411/config.h b/configs/FLYWOOF411/config.h index 5f27c71c..3ce9c7ac 100644 --- a/configs/FLYWOOF411/config.h +++ b/configs/FLYWOOF411/config.h @@ -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 diff --git a/configs/FLYWOOF411EVO_HD/config.h b/configs/FLYWOOF411EVO_HD/config.h index 0fcb5e88..d3a8d43d 100644 --- a/configs/FLYWOOF411EVO_HD/config.h +++ b/configs/FLYWOOF411EVO_HD/config.h @@ -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 diff --git a/configs/FLYWOOF7DUAL/config.h b/configs/FLYWOOF7DUAL/config.h index d6c151c3..3bd6065c 100644 --- a/configs/FLYWOOF7DUAL/config.h +++ b/configs/FLYWOOF7DUAL/config.h @@ -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 diff --git a/configs/FOXEERF722DUAL/config.h b/configs/FOXEERF722DUAL/config.h index fafacceb..fc3e1f7b 100644 --- a/configs/FOXEERF722DUAL/config.h +++ b/configs/FOXEERF722DUAL/config.h @@ -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 diff --git a/configs/FOXEERF722V2/config.h b/configs/FOXEERF722V2/config.h index 53ef0288..c61c137f 100644 --- a/configs/FOXEERF722V2/config.h +++ b/configs/FOXEERF722V2/config.h @@ -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 diff --git a/configs/FOXEERF722V3/config.h b/configs/FOXEERF722V3/config.h index 2fe9edef..1e0eca45 100644 --- a/configs/FOXEERF722V3/config.h +++ b/configs/FOXEERF722V3/config.h @@ -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 diff --git a/configs/FOXEERF722V4/config.h b/configs/FOXEERF722V4/config.h index 6a1a2321..1485510d 100644 --- a/configs/FOXEERF722V4/config.h +++ b/configs/FOXEERF722V4/config.h @@ -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 diff --git a/configs/GEMEF722/config.h b/configs/GEMEF722/config.h index 02a12d64..9e3a1474 100644 --- a/configs/GEMEF722/config.h +++ b/configs/GEMEF722/config.h @@ -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 diff --git a/configs/GEPRCF722BT/config.h b/configs/GEPRCF722BT/config.h index e51ad55c..c5a0247e 100644 --- a/configs/GEPRCF722BT/config.h +++ b/configs/GEPRCF722BT/config.h @@ -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 diff --git a/configs/GEPRCF722_BT_HD/config.h b/configs/GEPRCF722_BT_HD/config.h index a7bdf328..55b5f627 100644 --- a/configs/GEPRCF722_BT_HD/config.h +++ b/configs/GEPRCF722_BT_HD/config.h @@ -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 diff --git a/configs/GEPRC_F722_AIO/config.h b/configs/GEPRC_F722_AIO/config.h index ec9704e5..14ec3681 100644 --- a/configs/GEPRC_F722_AIO/config.h +++ b/configs/GEPRC_F722_AIO/config.h @@ -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 diff --git a/configs/GRAVITYF7/config.h b/configs/GRAVITYF7/config.h index fda9e973..120e3552 100644 --- a/configs/GRAVITYF7/config.h +++ b/configs/GRAVITYF7/config.h @@ -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 diff --git a/configs/HAKRCF405V2/config.h b/configs/HAKRCF405V2/config.h index 8f17dd28..bc4fc212 100644 --- a/configs/HAKRCF405V2/config.h +++ b/configs/HAKRCF405V2/config.h @@ -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 diff --git a/configs/HAKRCF411D/config.h b/configs/HAKRCF411D/config.h index d3a2aab1..c981e9f6 100644 --- a/configs/HAKRCF411D/config.h +++ b/configs/HAKRCF411D/config.h @@ -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 diff --git a/configs/HAKRCF722V2/config.h b/configs/HAKRCF722V2/config.h index 96135ce6..89b3292b 100644 --- a/configs/HAKRCF722V2/config.h +++ b/configs/HAKRCF722V2/config.h @@ -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 diff --git a/configs/HAKRCF7230D/config.h b/configs/HAKRCF7230D/config.h index ae4f8b8b..d91bdf94 100644 --- a/configs/HAKRCF7230D/config.h +++ b/configs/HAKRCF7230D/config.h @@ -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 diff --git a/configs/HGLRCF405/config.h b/configs/HGLRCF405/config.h index 769ac6d3..d4c68a36 100644 --- a/configs/HGLRCF405/config.h +++ b/configs/HGLRCF405/config.h @@ -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 diff --git a/configs/HGLRCF405AS/config.h b/configs/HGLRCF405AS/config.h index 2644d6b9..6a370f63 100644 --- a/configs/HGLRCF405AS/config.h +++ b/configs/HGLRCF405AS/config.h @@ -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 diff --git a/configs/HGLRCF745/config.h b/configs/HGLRCF745/config.h index 5d2ed415..01863fa3 100644 --- a/configs/HGLRCF745/config.h +++ b/configs/HGLRCF745/config.h @@ -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 diff --git a/configs/HIFIONRCF7/config.h b/configs/HIFIONRCF7/config.h index ebddd4da..d877bf06 100644 --- a/configs/HIFIONRCF7/config.h +++ b/configs/HIFIONRCF7/config.h @@ -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 diff --git a/configs/HOBBYWING_XROTORF4G3/config.h b/configs/HOBBYWING_XROTORF4G3/config.h index e716c865..d6219223 100644 --- a/configs/HOBBYWING_XROTORF4G3/config.h +++ b/configs/HOBBYWING_XROTORF4G3/config.h @@ -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 diff --git a/configs/HOBBYWING_XROTORF7CONV/config.h b/configs/HOBBYWING_XROTORF7CONV/config.h index 506f13d3..d1adf8c2 100644 --- a/configs/HOBBYWING_XROTORF7CONV/config.h +++ b/configs/HOBBYWING_XROTORF7CONV/config.h @@ -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 diff --git a/configs/IFLIGHT_F722_TWING/config.h b/configs/IFLIGHT_F722_TWING/config.h index 011d9a1f..d63c323f 100644 --- a/configs/IFLIGHT_F722_TWING/config.h +++ b/configs/IFLIGHT_F722_TWING/config.h @@ -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 diff --git a/configs/IFLIGHT_SUCCEX_E_F7/config.h b/configs/IFLIGHT_SUCCEX_E_F7/config.h index 9f7160f3..edc80a8e 100644 --- a/configs/IFLIGHT_SUCCEX_E_F7/config.h +++ b/configs/IFLIGHT_SUCCEX_E_F7/config.h @@ -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 diff --git a/configs/JBF7/config.h b/configs/JBF7/config.h index b12d9327..4e406a15 100644 --- a/configs/JBF7/config.h +++ b/configs/JBF7/config.h @@ -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 diff --git a/configs/JBF7_DJI/config.h b/configs/JBF7_DJI/config.h index 2c08fec5..1e7fc046 100644 --- a/configs/JBF7_DJI/config.h +++ b/configs/JBF7_DJI/config.h @@ -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 diff --git a/configs/JHEF7DUAL/config.h b/configs/JHEF7DUAL/config.h index 85733362..a4577b6c 100644 --- a/configs/JHEF7DUAL/config.h +++ b/configs/JHEF7DUAL/config.h @@ -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 diff --git a/configs/JMIF722A/config.h b/configs/JMIF722A/config.h index cc0c2401..0cf2f8d6 100644 --- a/configs/JMIF722A/config.h +++ b/configs/JMIF722A/config.h @@ -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 diff --git a/configs/LUXF4OSD/config.h b/configs/LUXF4OSD/config.h index 6c864b4c..849688f9 100644 --- a/configs/LUXF4OSD/config.h +++ b/configs/LUXF4OSD/config.h @@ -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 diff --git a/configs/MAMBAF405US/config.h b/configs/MAMBAF405US/config.h index e5fed4f4..752cf334 100644 --- a/configs/MAMBAF405US/config.h +++ b/configs/MAMBAF405US/config.h @@ -68,7 +68,6 @@ #define ADC_VBAT_PIN PC1 #define ADC_RSSI_PIN PC2 #define ADC_CURR_PIN PC3 -#define USE_ADC #define ADC_INSTANCE ADC3 #define UART1_TX_PIN PB6 diff --git a/configs/MAMBAF405US_I2C/config.h b/configs/MAMBAF405US_I2C/config.h index 077e45db..7a512740 100644 --- a/configs/MAMBAF405US_I2C/config.h +++ b/configs/MAMBAF405US_I2C/config.h @@ -69,7 +69,6 @@ #define ADC_VBAT_PIN PC1 #define ADC_RSSI_PIN PC2 #define ADC_CURR_PIN PC3 -#define USE_ADC #define ADC_INSTANCE ADC3 #define UART1_TX_PIN PB6 diff --git a/configs/MAMBAF405_2022A/config.h b/configs/MAMBAF405_2022A/config.h index 8ba81535..ea170ca5 100644 --- a/configs/MAMBAF405_2022A/config.h +++ b/configs/MAMBAF405_2022A/config.h @@ -99,7 +99,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 diff --git a/configs/MAMBAF405_2022B/config.h b/configs/MAMBAF405_2022B/config.h index 8c5401ef..6123d5ff 100644 --- a/configs/MAMBAF405_2022B/config.h +++ b/configs/MAMBAF405_2022B/config.h @@ -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 diff --git a/configs/MAMBAF411/config.h b/configs/MAMBAF411/config.h index 1661e330..75ddaa2a 100644 --- a/configs/MAMBAF411/config.h +++ b/configs/MAMBAF411/config.h @@ -57,7 +57,6 @@ #define ADC_VBAT_PIN PA0 #define ADC_RSSI_PIN PB1 #define ADC_CURR_PIN PA1 -#define USE_ADC #define ADC_INSTANCE ADC1 #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC diff --git a/configs/MAMBAF722/config.h b/configs/MAMBAF722/config.h index db452c33..0d18f4ec 100644 --- a/configs/MAMBAF722/config.h +++ b/configs/MAMBAF722/config.h @@ -66,7 +66,6 @@ #define ADC_VBAT_PIN PC1 #define ADC_RSSI_PIN PC2 #define ADC_CURR_PIN PC3 -#define USE_ADC #define ADC_INSTANCE ADC3 #define UART1_TX_PIN PB6 diff --git a/configs/MAMBAF722_2022A/config.h b/configs/MAMBAF722_2022A/config.h index dcbba3ef..85eee195 100644 --- a/configs/MAMBAF722_2022A/config.h +++ b/configs/MAMBAF722_2022A/config.h @@ -100,7 +100,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 diff --git a/configs/MAMBAF722_2022B/config.h b/configs/MAMBAF722_2022B/config.h index ea0e251f..c49a4fb6 100644 --- a/configs/MAMBAF722_2022B/config.h +++ b/configs/MAMBAF722_2022B/config.h @@ -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 diff --git a/configs/MAMBAF722_I2C/config.h b/configs/MAMBAF722_I2C/config.h index 9356974b..0c5471e6 100644 --- a/configs/MAMBAF722_I2C/config.h +++ b/configs/MAMBAF722_I2C/config.h @@ -71,7 +71,6 @@ #define ADC_VBAT_PIN PC1 #define ADC_RSSI_PIN PC2 #define ADC_CURR_PIN PC3 -#define USE_ADC #define ADC_INSTANCE ADC3 #define UART1_TX_PIN PB6 diff --git a/configs/MAMBAF722_X8/config.h b/configs/MAMBAF722_X8/config.h index b7d87fd7..a5aef143 100644 --- a/configs/MAMBAF722_X8/config.h +++ b/configs/MAMBAF722_X8/config.h @@ -98,7 +98,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 diff --git a/configs/NEUTRONRCF435MINI/config.h b/configs/NEUTRONRCF435MINI/config.h index bf7b0781..85a29018 100644 --- a/configs/NEUTRONRCF435MINI/config.h +++ b/configs/NEUTRONRCF435MINI/config.h @@ -84,7 +84,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 diff --git a/configs/NEUTRONRCF722AIO/config.h b/configs/NEUTRONRCF722AIO/config.h index 46a3364e..78c98eba 100644 --- a/configs/NEUTRONRCF722AIO/config.h +++ b/configs/NEUTRONRCF722AIO/config.h @@ -89,7 +89,6 @@ #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_FLASH #define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON diff --git a/configs/ODDITYRCF7AIO/config.h b/configs/ODDITYRCF7AIO/config.h index 49fbd0c4..c509d631 100644 --- a/configs/ODDITYRCF7AIO/config.h +++ b/configs/ODDITYRCF7AIO/config.h @@ -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 diff --git a/configs/OMNIBUSF4/config.h b/configs/OMNIBUSF4/config.h index 9b072acd..ec9b7604 100644 --- a/configs/OMNIBUSF4/config.h +++ b/configs/OMNIBUSF4/config.h @@ -102,7 +102,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 diff --git a/configs/OMNIBUSF4FW/config.h b/configs/OMNIBUSF4FW/config.h index 04fcc827..cade4135 100644 --- a/configs/OMNIBUSF4FW/config.h +++ b/configs/OMNIBUSF4FW/config.h @@ -96,7 +96,6 @@ #define MAG_I2C_INSTANCE (I2CDEV_1) #define USE_BARO #define BARO_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 diff --git a/configs/OMNIBUSF4NANO/config.h b/configs/OMNIBUSF4NANO/config.h index 0a44879f..4d3f510e 100644 --- a/configs/OMNIBUSF4NANO/config.h +++ b/configs/OMNIBUSF4NANO/config.h @@ -28,7 +28,6 @@ #define USE_ACC #define USE_ACC_SPI_MPU6000 -#define USE_ADC #define USE_BARO #define USE_BARO_SPI_BMP280 #define USE_GYRO diff --git a/configs/OMNIBUSF4SD/config.h b/configs/OMNIBUSF4SD/config.h index 1da6e4a2..965d3304 100644 --- a/configs/OMNIBUSF4SD/config.h +++ b/configs/OMNIBUSF4SD/config.h @@ -107,7 +107,6 @@ #define MAG_I2C_INSTANCE (I2CDEV_2) #define USE_BARO #define BARO_SPI_INSTANCE SPI3 -#define USE_ADC #define ADC_INSTANCE ADC2 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD //TODO #define MIN_THROTTLE 1070 diff --git a/configs/OMNIBUSF4V6/config.h b/configs/OMNIBUSF4V6/config.h index c0255fcf..e4e0cfa4 100644 --- a/configs/OMNIBUSF4V6/config.h +++ b/configs/OMNIBUSF4V6/config.h @@ -97,7 +97,6 @@ #define MAG_I2C_INSTANCE (I2CDEV_1) #define USE_BARO #define BARO_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 diff --git a/configs/RUSHCORE7/config.h b/configs/RUSHCORE7/config.h index 56f262c6..5775e731 100644 --- a/configs/RUSHCORE7/config.h +++ b/configs/RUSHCORE7/config.h @@ -93,7 +93,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 diff --git a/configs/SKYSTARSF405/config.h b/configs/SKYSTARSF405/config.h index 97a207d9..c443f044 100644 --- a/configs/SKYSTARSF405/config.h +++ b/configs/SKYSTARSF405/config.h @@ -102,7 +102,6 @@ #define USE_BARO #define BARO_SPI_INSTANCE SPI2 -#define USE_ADC #define ADC_INSTANCE ADC2 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH //TODO #define DSHOT_IDLE_VALUE 450 diff --git a/configs/SKYSTARSF435/config.h b/configs/SKYSTARSF435/config.h index 717805c7..8a95a77d 100644 --- a/configs/SKYSTARSF435/config.h +++ b/configs/SKYSTARSF435/config.h @@ -91,7 +91,6 @@ TIMER_PIN_MAP( 6, PB6, 1, 0 ) -#define USE_ADC #define ADC_INSTANCE ADC2 diff --git a/configs/SKYSTARSF7HD/config.h b/configs/SKYSTARSF7HD/config.h index 2924c8c8..1a663eca 100644 --- a/configs/SKYSTARSF7HD/config.h +++ b/configs/SKYSTARSF7HD/config.h @@ -93,7 +93,6 @@ //TODO #define CAMERA_CONTROL_MODE SOFTWARE_PWM #define MAG_I2C_INSTANCE (I2CDEV_1) -#define USE_ADC #define ADC_INSTANCE ADC2 //TODO #define DSHOT_IDLE_VALUE 450 #define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON diff --git a/configs/SKYSTARSF7HDPRO/config.h b/configs/SKYSTARSF7HDPRO/config.h index 9e197d47..21d05c52 100644 --- a/configs/SKYSTARSF7HDPRO/config.h +++ b/configs/SKYSTARSF7HDPRO/config.h @@ -99,7 +99,6 @@ #define USE_BARO #define BARO_SPI_INSTANCE SPI2 -#define USE_ADC #define ADC_INSTANCE ADC2 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC diff --git a/configs/SKYSTARSF7RS/config.h b/configs/SKYSTARSF7RS/config.h index e028b68e..45266db3 100644 --- a/configs/SKYSTARSF7RS/config.h +++ b/configs/SKYSTARSF7RS/config.h @@ -102,7 +102,6 @@ #define MAG_I2C_INSTANCE (I2CDEV_1) #define BARO_SPI_INSTANCE SPI2 -#define USE_ADC #define ADC_INSTANCE ADC2 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC diff --git a/configs/SUB250REDFOXF722AIO/config.h b/configs/SUB250REDFOXF722AIO/config.h index 537e6e96..b0671593 100644 --- a/configs/SUB250REDFOXF722AIO/config.h +++ b/configs/SUB250REDFOXF722AIO/config.h @@ -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 diff --git a/configs/SYNERGYF4/config.h b/configs/SYNERGYF4/config.h index 90a15b14..0ee935e2 100644 --- a/configs/SYNERGYF4/config.h +++ b/configs/SYNERGYF4/config.h @@ -96,7 +96,6 @@ #define ADC2_DMA_OPT 1 -#define USE_ADC #define ADC_INSTANCE ADC2 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC diff --git a/configs/TALONF4V2/config.h b/configs/TALONF4V2/config.h index bb4e4222..ef02356b 100644 --- a/configs/TALONF4V2/config.h +++ b/configs/TALONF4V2/config.h @@ -89,7 +89,6 @@ #define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1 #define RX_SPI_INSTANCE SPI0 -#define USE_ADC #define ADC_INSTANCE ADC1 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_DSHOT_BURST DSHOT_DMAR_OFF diff --git a/configs/VGOODRCF405_DJI/config.h b/configs/VGOODRCF405_DJI/config.h index 6a2ea645..96e1da23 100644 --- a/configs/VGOODRCF405_DJI/config.h +++ b/configs/VGOODRCF405_DJI/config.h @@ -89,7 +89,6 @@ #define ADC3_DMA_OPT 1 -#define USE_ADC #define ADC_INSTANCE ADC3 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC diff --git a/configs/VGOODRCF722_DJI/config.h b/configs/VGOODRCF722_DJI/config.h index c0c6579d..1b74a9e4 100644 --- a/configs/VGOODRCF722_DJI/config.h +++ b/configs/VGOODRCF722_DJI/config.h @@ -79,7 +79,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 diff --git a/configs/VIVAF4AIO/config.h b/configs/VIVAF4AIO/config.h index fb22b57a..35a8f010 100644 --- a/configs/VIVAF4AIO/config.h +++ b/configs/VIVAF4AIO/config.h @@ -93,7 +93,6 @@ #define ADC1_DMA_OPT 1 #define MAG_I2C_INSTANCE (I2CDEV_1) -#define USE_ADC #define ADC_INSTANCE ADC1 #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC diff --git a/configs/XRACERF4/config.h b/configs/XRACERF4/config.h index e5f66b80..c6f00dcf 100644 --- a/configs/XRACERF4/config.h +++ b/configs/XRACERF4/config.h @@ -95,7 +95,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 diff --git a/configs/ZEEZF7/config.h b/configs/ZEEZF7/config.h index 8ceb0e39..4ea5d65e 100644 --- a/configs/ZEEZF7/config.h +++ b/configs/ZEEZF7/config.h @@ -86,7 +86,6 @@ #define ADC3_DMA_OPT 1 #define DEFAULT_BARO_DEVICE BARO_NONE -#define USE_ADC #define ADC_INSTANCE ADC3 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC diff --git a/configs/ZEUSF4EVO/config.h b/configs/ZEUSF4EVO/config.h index 97fb7a26..0f4b4b0d 100644 --- a/configs/ZEUSF4EVO/config.h +++ b/configs/ZEUSF4EVO/config.h @@ -83,7 +83,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_DSHOT_BURST DSHOT_DMAR_AUTO