From ffeecaf007aa36243d349b2d4cb5425331b4d171 Mon Sep 17 00:00:00 2001 From: Andrey Mironov Date: Thu, 12 Jul 2018 14:42:18 +0300 Subject: [PATCH] Removed CONFIG_FASTLOOP_PREFERRED_ACC --- src/main/target/AIR32/target.h | 1 - src/main/target/AIRHEROF3/target.h | 1 - src/main/target/ALIENFLIGHTF3/target.h | 1 - src/main/target/ALIENWHOOP/target.h | 1 - src/main/target/BEEBRAIN_V2F/target.h | 1 - src/main/target/BETAFLIGHTF3/target.h | 1 - src/main/target/CHEBUZZF3/target.h | 1 - src/main/target/COLIBRI_RACE/target.h | 1 - src/main/target/DOGE/target.h | 1 - src/main/target/FF_PIKOBLX/target.h | 1 - src/main/target/FRSKYF3/target.h | 1 - src/main/target/FURYF3/target.h | 1 - src/main/target/IMPULSERCF3/target.h | 1 - src/main/target/IRCFUSIONF3/target.h | 1 - src/main/target/ISHAPEDF3/target.h | 1 - src/main/target/KISSFC/target.h | 1 - src/main/target/LUX_RACE/target.h | 1 - src/main/target/MOTOLAB/target.h | 1 - src/main/target/MULTIFLITEPICO/target.h | 1 - src/main/target/OMNIBUS/target.h | 1 - src/main/target/RACEBASE/target.h | 1 - src/main/target/RCEXPLORERF3/target.h | 1 - src/main/target/RG_SSD_F3/target.h | 1 - src/main/target/SINGULARITY/target.h | 1 - src/main/target/SIRINFPV/target.h | 1 - src/main/target/SPARKY/target.h | 1 - src/main/target/SPRACINGF3/target.h | 2 -- src/main/target/SPRACINGF3EVO/target.h | 1 - src/main/target/SPRACINGF3MINI/target.h | 2 -- src/main/target/SPRACINGF3NEO/target.h | 1 - src/main/target/SPRACINGF3OSD/target.h | 1 - src/main/target/STM32F3DISCOVERY/target.h | 1 - src/main/target/X_RACERSPI/target.h | 1 - 33 files changed, 35 deletions(-) diff --git a/src/main/target/AIR32/target.h b/src/main/target/AIR32/target.h index 12fe57956..182954485 100644 --- a/src/main/target/AIR32/target.h +++ b/src/main/target/AIR32/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "AR32" // AiR32 -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define LED0_PIN PB5 // Blue LED - PB5 diff --git a/src/main/target/AIRHEROF3/target.h b/src/main/target/AIRHEROF3/target.h index dcefca6af..f0304fcd7 100644 --- a/src/main/target/AIRHEROF3/target.h +++ b/src/main/target/AIRHEROF3/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "AIR3" -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define CONFIG_PREFER_ACC_ON #define LED0_PIN PB3 diff --git a/src/main/target/ALIENFLIGHTF3/target.h b/src/main/target/ALIENFLIGHTF3/target.h index b28e3a4f7..900531574 100644 --- a/src/main/target/ALIENFLIGHTF3/target.h +++ b/src/main/target/ALIENFLIGHTF3/target.h @@ -25,7 +25,6 @@ #define TARGET_BUS_INIT #define REMAP_TIM17_DMA -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define USE_HARDWARE_REVISION_DETECTION #define HW_PIN PB2 diff --git a/src/main/target/ALIENWHOOP/target.h b/src/main/target/ALIENWHOOP/target.h index 42b470e33..d5b04e3b1 100644 --- a/src/main/target/ALIENWHOOP/target.h +++ b/src/main/target/ALIENWHOOP/target.h @@ -48,7 +48,6 @@ #define USE_TARGET_CONFIG // see config.c for target specific customizations -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define BRUSHED_MOTORS /* Visual Alerts - SMD LEDs diff --git a/src/main/target/BEEBRAIN_V2F/target.h b/src/main/target/BEEBRAIN_V2F/target.h index c5319c03c..8f3049418 100644 --- a/src/main/target/BEEBRAIN_V2F/target.h +++ b/src/main/target/BEEBRAIN_V2F/target.h @@ -27,7 +27,6 @@ #endif #define USE_TARGET_CONFIG -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define LED0_PIN PB1 #define LED1_PIN PB2 diff --git a/src/main/target/BETAFLIGHTF3/target.h b/src/main/target/BETAFLIGHTF3/target.h index 8ddb0b377..86ad25915 100644 --- a/src/main/target/BETAFLIGHTF3/target.h +++ b/src/main/target/BETAFLIGHTF3/target.h @@ -42,7 +42,6 @@ #undef USE_RX_MSP #undef USE_ESC_SENSOR_INFO -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define USE_BEEPER #define BEEPER_PIN PC15 diff --git a/src/main/target/CHEBUZZF3/target.h b/src/main/target/CHEBUZZF3/target.h index c54d7d1d9..45a4e08b8 100644 --- a/src/main/target/CHEBUZZF3/target.h +++ b/src/main/target/CHEBUZZF3/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "CHF3" // Chebuzz F3 -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #ifndef STM32F3DISCOVERY #define STM32F3DISCOVERY diff --git a/src/main/target/COLIBRI_RACE/target.h b/src/main/target/COLIBRI_RACE/target.h index e5d001cf4..cd4ddbce9 100644 --- a/src/main/target/COLIBRI_RACE/target.h +++ b/src/main/target/COLIBRI_RACE/target.h @@ -29,7 +29,6 @@ #define BST_DEVICE_NAME_LENGTH 12 #define TARGET_BUS_INIT -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define LED0_PIN PC15 #define LED1_PIN PC14 diff --git a/src/main/target/DOGE/target.h b/src/main/target/DOGE/target.h index 30e544972..d2ce79589 100644 --- a/src/main/target/DOGE/target.h +++ b/src/main/target/DOGE/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "DOGE" -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT // tqfp48 pin 34 #define LED0_PIN PA13 diff --git a/src/main/target/FF_PIKOBLX/target.h b/src/main/target/FF_PIKOBLX/target.h index 96d3f7010..c37014684 100644 --- a/src/main/target/FF_PIKOBLX/target.h +++ b/src/main/target/FF_PIKOBLX/target.h @@ -33,7 +33,6 @@ #define ENABLE_DSHOT_DMAR true #define REMAP_TIM16_DMA -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define USE_TARGET_CONFIG diff --git a/src/main/target/FRSKYF3/target.h b/src/main/target/FRSKYF3/target.h index 14bb79a0b..19461a83a 100644 --- a/src/main/target/FRSKYF3/target.h +++ b/src/main/target/FRSKYF3/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "FRF3" #define USE_TARGET_CONFIG -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE // Removed to make the firmware fit into flash (in descending order of priority): //#undef USE_GYRO_OVERFLOW_CHECK diff --git a/src/main/target/FURYF3/target.h b/src/main/target/FURYF3/target.h index c56c9a4f7..35e2be945 100644 --- a/src/main/target/FURYF3/target.h +++ b/src/main/target/FURYF3/target.h @@ -48,7 +48,6 @@ #undef USE_RX_MSP #undef USE_ESC_SENSOR_INFO -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define CONFIG_PREFER_ACC_ON #define LED0_PIN PC14 diff --git a/src/main/target/IMPULSERCF3/target.h b/src/main/target/IMPULSERCF3/target.h index 3de5a4f41..021b3c27b 100644 --- a/src/main/target/IMPULSERCF3/target.h +++ b/src/main/target/IMPULSERCF3/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "IMF3" -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define ENABLE_DSHOT_DMAR true diff --git a/src/main/target/IRCFUSIONF3/target.h b/src/main/target/IRCFUSIONF3/target.h index 3194e0ff6..21c9a500e 100644 --- a/src/main/target/IRCFUSIONF3/target.h +++ b/src/main/target/IRCFUSIONF3/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "IFF3" -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define LED0_PIN PB3 diff --git a/src/main/target/ISHAPEDF3/target.h b/src/main/target/ISHAPEDF3/target.h index c742284e8..ab379849b 100644 --- a/src/main/target/ISHAPEDF3/target.h +++ b/src/main/target/ISHAPEDF3/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "ISF3" -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define LED0_PIN PB3 diff --git a/src/main/target/KISSFC/target.h b/src/main/target/KISSFC/target.h index 98873865b..c043b4a75 100644 --- a/src/main/target/KISSFC/target.h +++ b/src/main/target/KISSFC/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "KISS" -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define SBUS_PORT_OPTIONS (SERIAL_STOPBITS_2 | SERIAL_PARITY_EVEN | SERIAL_INVERTED | SERIAL_BIDIR) diff --git a/src/main/target/LUX_RACE/target.h b/src/main/target/LUX_RACE/target.h index d5bd3208a..fba843d81 100644 --- a/src/main/target/LUX_RACE/target.h +++ b/src/main/target/LUX_RACE/target.h @@ -33,7 +33,6 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define LED0_PIN PC15 #define LED1_PIN PC14 diff --git a/src/main/target/MOTOLAB/target.h b/src/main/target/MOTOLAB/target.h index 7ba0dc2d0..034b571f9 100644 --- a/src/main/target/MOTOLAB/target.h +++ b/src/main/target/MOTOLAB/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "MOTO" // MotoLab -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define USE_TARGET_CONFIG #define LED0_PIN PB5 // Blue LEDs - PB5 diff --git a/src/main/target/MULTIFLITEPICO/target.h b/src/main/target/MULTIFLITEPICO/target.h index 733fc37f9..418d56710 100644 --- a/src/main/target/MULTIFLITEPICO/target.h +++ b/src/main/target/MULTIFLITEPICO/target.h @@ -23,7 +23,6 @@ #define TARGET_BOARD_IDENTIFIER "MFPB" #define USE_TARGET_CONFIG -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define LED0_PIN PB3 diff --git a/src/main/target/OMNIBUS/target.h b/src/main/target/OMNIBUS/target.h index d13d6af67..ef7ac867e 100644 --- a/src/main/target/OMNIBUS/target.h +++ b/src/main/target/OMNIBUS/target.h @@ -42,7 +42,6 @@ #define TARGET_BOARD_IDENTIFIER "OMNI" // https://en.wikipedia.org/wiki/Omnibus -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define LED0_PIN PB3 diff --git a/src/main/target/RACEBASE/target.h b/src/main/target/RACEBASE/target.h index 743e34a84..471472e3e 100644 --- a/src/main/target/RACEBASE/target.h +++ b/src/main/target/RACEBASE/target.h @@ -103,7 +103,6 @@ #define CURRENT_METER_ADC_PIN PA5 #define RSSI_ADC_PIN PA6 -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define DEFAULT_FEATURES (FEATURE_OSD | FEATURE_RSSI_ADC | FEATURE_OSD) diff --git a/src/main/target/RCEXPLORERF3/target.h b/src/main/target/RCEXPLORERF3/target.h index cf161e326..f2ff549e9 100644 --- a/src/main/target/RCEXPLORERF3/target.h +++ b/src/main/target/RCEXPLORERF3/target.h @@ -36,7 +36,6 @@ #undef USE_ESC_SENSOR_INFO -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define LED0_PIN PB4 #define LED1_PIN PB5 diff --git a/src/main/target/RG_SSD_F3/target.h b/src/main/target/RG_SSD_F3/target.h index e7b3fd6c1..c58ab907e 100644 --- a/src/main/target/RG_SSD_F3/target.h +++ b/src/main/target/RG_SSD_F3/target.h @@ -59,7 +59,6 @@ #define USE_ACC #define USE_ACC_SPI_MPU6000 #define ACC_MPU6000_ALIGN CW180_DEG -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define USE_TARGET_CONFIG #define USE_EXTI diff --git a/src/main/target/SINGULARITY/target.h b/src/main/target/SINGULARITY/target.h index a0693f0c5..7f251a178 100644 --- a/src/main/target/SINGULARITY/target.h +++ b/src/main/target/SINGULARITY/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "SING" -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define LED0_PIN PB3 diff --git a/src/main/target/SIRINFPV/target.h b/src/main/target/SIRINFPV/target.h index c6f0953c0..41a7e2311 100644 --- a/src/main/target/SIRINFPV/target.h +++ b/src/main/target/SIRINFPV/target.h @@ -154,7 +154,6 @@ //#define USE_QUAD_MIXER_ONLY #define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define DEFAULT_RX_FEATURE FEATURE_RX_PPM #define DEFAULT_FEATURES (FEATURE_RX_SERIAL | FEATURE_OSD) diff --git a/src/main/target/SPARKY/target.h b/src/main/target/SPARKY/target.h index 70167cb8f..eddbc4f51 100644 --- a/src/main/target/SPARKY/target.h +++ b/src/main/target/SPARKY/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "SPKY" // SParKY -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define LED0_PIN PB4 // Blue (Rev 1 & 2) - PB4 #define LED1_PIN PB5 // Green (Rev 1) / Red (Rev 2) - PB5 diff --git a/src/main/target/SPRACINGF3/target.h b/src/main/target/SPRACINGF3/target.h index 8f35a1ae2..d05fe2d5b 100644 --- a/src/main/target/SPRACINGF3/target.h +++ b/src/main/target/SPRACINGF3/target.h @@ -49,11 +49,9 @@ #undef USE_ESC_SENSOR_INFO #if defined(ZCOREF3) -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define LED0_PIN PB8 #else -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define LED0_PIN PB3 #endif diff --git a/src/main/target/SPRACINGF3EVO/target.h b/src/main/target/SPRACINGF3EVO/target.h index 0741aaf69..4f86f8d45 100644 --- a/src/main/target/SPRACINGF3EVO/target.h +++ b/src/main/target/SPRACINGF3EVO/target.h @@ -63,7 +63,6 @@ #endif // SPRACINGF3MQ -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define LED0_PIN PB8 diff --git a/src/main/target/SPRACINGF3MINI/target.h b/src/main/target/SPRACINGF3MINI/target.h index 9baff11ca..b7a6e1be9 100644 --- a/src/main/target/SPRACINGF3MINI/target.h +++ b/src/main/target/SPRACINGF3MINI/target.h @@ -23,7 +23,6 @@ #ifdef TINYBEEF3 #define TARGET_BOARD_IDENTIFIER "TBF3" -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define LED0_PIN PB8 #else @@ -49,7 +48,6 @@ #undef USE_ESC_SENSOR_INFO -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define LED0_PIN PB3 #endif diff --git a/src/main/target/SPRACINGF3NEO/target.h b/src/main/target/SPRACINGF3NEO/target.h index a98fa5397..38d649c1c 100644 --- a/src/main/target/SPRACINGF3NEO/target.h +++ b/src/main/target/SPRACINGF3NEO/target.h @@ -42,7 +42,6 @@ #undef USE_RX_MSP #undef USE_ESC_SENSOR_INFO -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define LED0_PIN PB9 #define LED1_PIN PB2 diff --git a/src/main/target/SPRACINGF3OSD/target.h b/src/main/target/SPRACINGF3OSD/target.h index 2e9d2a52d..6108635cf 100644 --- a/src/main/target/SPRACINGF3OSD/target.h +++ b/src/main/target/SPRACINGF3OSD/target.h @@ -23,7 +23,6 @@ #define TARGET_BOARD_IDENTIFIER "SOF3" #define USE_TARGET_CONFIG -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT #define LED0_PIN PA15 diff --git a/src/main/target/STM32F3DISCOVERY/target.h b/src/main/target/STM32F3DISCOVERY/target.h index 17384f75b..ab2b98421 100644 --- a/src/main/target/STM32F3DISCOVERY/target.h +++ b/src/main/target/STM32F3DISCOVERY/target.h @@ -54,7 +54,6 @@ #undef USE_EXTENDED_CMS_MENUS #undef USE_ESC_SENSOR_INFO -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define CURRENT_TARGET_CPU_VOLTAGE 3.0 diff --git a/src/main/target/X_RACERSPI/target.h b/src/main/target/X_RACERSPI/target.h index 4a5b0efc4..767c5ce4a 100644 --- a/src/main/target/X_RACERSPI/target.h +++ b/src/main/target/X_RACERSPI/target.h @@ -22,7 +22,6 @@ #define TARGET_BOARD_IDENTIFIER "XRC3" -#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define LED0_PIN PC14