From 3054d1febb1cb19d6f7f032324ce5246e17d7eb7 Mon Sep 17 00:00:00 2001 From: bkleiner Date: Fri, 7 Oct 2022 02:58:56 +0200 Subject: [PATCH] remove config_helper.h --- src/config/config_helper.h | 1 - src/config/defines.h | 1 - src/targets/aikon_f4/target.h | 1 - src/targets/aikon_f7/target.h | 1 - src/targets/alienflightngf7/target.h | 1 - src/targets/alienwhoop_v2/target.h | 1 - src/targets/alienwhoop_v3/target.h | 1 - src/targets/betaflightf4/target.h | 1 - src/targets/betafpv_f405/target.h | 2 +- src/targets/betafpvf411/target.h | 1 - src/targets/betafpvf411rx_elrs/target.h | 1 - src/targets/betafpvf411rx_frsky/target.h | 1 - src/targets/bluejayf4/target.h | 1 - src/targets/cc3d_revo_f4/target.h | 1 - src/targets/cc3d_revo_nano/target.h | 1 - src/targets/clracing_f4/target.h | 1 - src/targets/crazybee_f4/target.h | 1 - src/targets/crazybee_f4_elrs/target.h | 1 - src/targets/crazybee_f4_frsky/target.h | 1 - src/targets/ff_racepit/target.h | 1 - src/targets/flywoof405s_aio/target.h | 1 - src/targets/flywoof411/target.h | 1 - src/targets/flywoof411rx/target.h | 1 - src/targets/fortinif4osd/target.h | 1 - src/targets/foxeerf745_aio/target.h | 1 - src/targets/fpvcyclef411/target.h | 1 - src/targets/furyf4osd/target.h | 1 - src/targets/geprcf405/target.h | 1 - src/targets/geprcf411/target.h | 1 - src/targets/hglrcf411/target.h | 1 - src/targets/hglrcf722/target.h | 1 - src/targets/hifionrc_f722/target.h | 1 - src/targets/iflight_blitz_f411_elrs/target.h | 2 +- src/targets/iflight_f745_aio_v2/target.h | 1 - src/targets/iflight_h743_aio_v1/target.h | 1 - src/targets/iflight_h743_aio_v2/target.h | 1 - src/targets/iflight_succex_e_f4/target.h | 1 - src/targets/iflightf411rx/target.h | 1 - src/targets/jhef405pro/target.h | 1 - src/targets/kakutef7miniv3/target.h | 1 - src/targets/kakutef7v2/target.h | 1 - src/targets/kakuteh7/target.h | 1 - src/targets/luxf4osd/target.h | 1 - src/targets/mambaf411/target.h | 1 - src/targets/mambaf722_i2c/target.h | 1 - src/targets/matekf405/target.h | 1 - src/targets/matekf411/target.h | 1 - src/targets/matekf411rx/target.h | 1 - src/targets/matekf765se/target.h | 1 - src/targets/matekh743/target.h | 1 - src/targets/nbd_infinity_f4/target.h | 1 - src/targets/neutronrcf411_elrs/target.h | 3 --- src/targets/nfe_breadboard/target.h | 1 - src/targets/nox/target.h | 1 - src/targets/nox_spi_rx/target.h | 1 - src/targets/omnibusf4/target.h | 1 - src/targets/omnibusf4sd/target.h | 1 - src/targets/pedro_f4/target.h | 1 - src/targets/pyrodrone_f4/target.h | 1 - src/targets/quicksilver_f4/target.h | 1 - src/targets/raceflight_revolt/target.h | 1 - src/targets/speedybeef7mini_v2/target.h | 1 - src/targets/talonf7djihd/target.h | 1 - src/targets/tmotorf7/target.h | 1 - src/targets/tmveloxf411/target.h | 28 +++++++++----------- src/targets/tunercf405/target.h | 1 - src/targets/zeez_f7_v1/target.h | 1 - src/targets/zeusf4evo/target.h | 1 - src/targets/zeusf4fr/target.h | 1 - src/targets/zeusf722_aio/target.h | 1 - 70 files changed, 14 insertions(+), 87 deletions(-) delete mode 100644 src/config/config_helper.h diff --git a/src/config/config_helper.h b/src/config/config_helper.h deleted file mode 100644 index 6f70f09be..000000000 --- a/src/config/config_helper.h +++ /dev/null @@ -1 +0,0 @@ -#pragma once diff --git a/src/config/defines.h b/src/config/defines.h index bb58c0d04..291ab3ac6 100644 --- a/src/config/defines.h +++ b/src/config/defines.h @@ -1,7 +1,6 @@ #pragma once #include "config.h" -#include "config_helper.h" #include "hardware.h" // defines for things that do not normally need changing diff --git a/src/targets/aikon_f4/target.h b/src/targets/aikon_f4/target.h index 55c57a9f5..cd514a5c0 100644 --- a/src/targets/aikon_f4/target.h +++ b/src/targets/aikon_f4/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define Aikon_F4 diff --git a/src/targets/aikon_f7/target.h b/src/targets/aikon_f7/target.h index d3765ed98..b2e1091b2 100644 --- a/src/targets/aikon_f7/target.h +++ b/src/targets/aikon_f7/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define AIKONF7 diff --git a/src/targets/alienflightngf7/target.h b/src/targets/alienflightngf7/target.h index c57ef2dcd..d4261e92f 100644 --- a/src/targets/alienflightngf7/target.h +++ b/src/targets/alienflightngf7/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define ALIENFLIGHTNGF7 diff --git a/src/targets/alienwhoop_v2/target.h b/src/targets/alienwhoop_v2/target.h index c8014df41..19ca91e45 100644 --- a/src/targets/alienwhoop_v2/target.h +++ b/src/targets/alienwhoop_v2/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define Alienwhoop_V2 diff --git a/src/targets/alienwhoop_v3/target.h b/src/targets/alienwhoop_v3/target.h index bce622c5e..346fb5bf8 100644 --- a/src/targets/alienwhoop_v3/target.h +++ b/src/targets/alienwhoop_v3/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define Alienwhoop_V3 diff --git a/src/targets/betaflightf4/target.h b/src/targets/betaflightf4/target.h index 72c6b6680..256bc4ca7 100644 --- a/src/targets/betaflightf4/target.h +++ b/src/targets/betaflightf4/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define BETAFLIGHTF4 diff --git a/src/targets/betafpv_f405/target.h b/src/targets/betafpv_f405/target.h index 254daa3b3..77ecccedd 100644 --- a/src/targets/betafpv_f405/target.h +++ b/src/targets/betafpv_f405/target.h @@ -1,6 +1,6 @@ #include "config.h" -#include "config_helper.h" + #define BETAFPVF405 diff --git a/src/targets/betafpvf411/target.h b/src/targets/betafpvf411/target.h index 44544d0fe..09476fca7 100644 --- a/src/targets/betafpvf411/target.h +++ b/src/targets/betafpvf411/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define BetaFPVF411 diff --git a/src/targets/betafpvf411rx_elrs/target.h b/src/targets/betafpvf411rx_elrs/target.h index ce4b93638..ee5282329 100644 --- a/src/targets/betafpvf411rx_elrs/target.h +++ b/src/targets/betafpvf411rx_elrs/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define betafpvf411rx_elrs diff --git a/src/targets/betafpvf411rx_frsky/target.h b/src/targets/betafpvf411rx_frsky/target.h index 362f6ecbf..3a36ef684 100644 --- a/src/targets/betafpvf411rx_frsky/target.h +++ b/src/targets/betafpvf411rx_frsky/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define betafpvf411rx_frsky diff --git a/src/targets/bluejayf4/target.h b/src/targets/bluejayf4/target.h index cab5363c6..4d740931e 100644 --- a/src/targets/bluejayf4/target.h +++ b/src/targets/bluejayf4/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define BluejayF4 diff --git a/src/targets/cc3d_revo_f4/target.h b/src/targets/cc3d_revo_f4/target.h index baefa956d..9f405b396 100644 --- a/src/targets/cc3d_revo_f4/target.h +++ b/src/targets/cc3d_revo_f4/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define CC3D_REVO_F4 diff --git a/src/targets/cc3d_revo_nano/target.h b/src/targets/cc3d_revo_nano/target.h index 0426fdbed..6bb062e1a 100644 --- a/src/targets/cc3d_revo_nano/target.h +++ b/src/targets/cc3d_revo_nano/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define CC3D_Revo_Nano diff --git a/src/targets/clracing_f4/target.h b/src/targets/clracing_f4/target.h index b3f9d0224..e6c2ea10c 100644 --- a/src/targets/clracing_f4/target.h +++ b/src/targets/clracing_f4/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define CLRacing_F4 diff --git a/src/targets/crazybee_f4/target.h b/src/targets/crazybee_f4/target.h index eb6c6a5ca..58d2367b3 100644 --- a/src/targets/crazybee_f4/target.h +++ b/src/targets/crazybee_f4/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define CrazyBee_F4 diff --git a/src/targets/crazybee_f4_elrs/target.h b/src/targets/crazybee_f4_elrs/target.h index 9cb5911aa..5a53ef17c 100644 --- a/src/targets/crazybee_f4_elrs/target.h +++ b/src/targets/crazybee_f4_elrs/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define CrazyBee_F4 diff --git a/src/targets/crazybee_f4_frsky/target.h b/src/targets/crazybee_f4_frsky/target.h index 8e10eed21..28e901201 100644 --- a/src/targets/crazybee_f4_frsky/target.h +++ b/src/targets/crazybee_f4_frsky/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define CrazyBee_F4 diff --git a/src/targets/ff_racepit/target.h b/src/targets/ff_racepit/target.h index 04a9c6c1a..221f9eeab 100644 --- a/src/targets/ff_racepit/target.h +++ b/src/targets/ff_racepit/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define FF_Racepit diff --git a/src/targets/flywoof405s_aio/target.h b/src/targets/flywoof405s_aio/target.h index 0b7500b1f..febbcb68e 100644 --- a/src/targets/flywoof405s_aio/target.h +++ b/src/targets/flywoof405s_aio/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define FLYWOOF405S_AIO diff --git a/src/targets/flywoof411/target.h b/src/targets/flywoof411/target.h index 0abcd6420..fec5dd19b 100644 --- a/src/targets/flywoof411/target.h +++ b/src/targets/flywoof411/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define FLYWOOF411 diff --git a/src/targets/flywoof411rx/target.h b/src/targets/flywoof411rx/target.h index d2863df79..ef212dc5a 100644 --- a/src/targets/flywoof411rx/target.h +++ b/src/targets/flywoof411rx/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define FLYWOOF411_5IN1_AIO diff --git a/src/targets/fortinif4osd/target.h b/src/targets/fortinif4osd/target.h index 3dc44dc0a..3457bda4e 100644 --- a/src/targets/fortinif4osd/target.h +++ b/src/targets/fortinif4osd/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define FortiniF4osd diff --git a/src/targets/foxeerf745_aio/target.h b/src/targets/foxeerf745_aio/target.h index 3d6bdf4ce..533c35de3 100644 --- a/src/targets/foxeerf745_aio/target.h +++ b/src/targets/foxeerf745_aio/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define FOXEERF745_AIO diff --git a/src/targets/fpvcyclef411/target.h b/src/targets/fpvcyclef411/target.h index 3e5111289..a3777e07a 100644 --- a/src/targets/fpvcyclef411/target.h +++ b/src/targets/fpvcyclef411/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define FPVCycleF411 diff --git a/src/targets/furyf4osd/target.h b/src/targets/furyf4osd/target.h index 3c710eee7..933123077 100644 --- a/src/targets/furyf4osd/target.h +++ b/src/targets/furyf4osd/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define FURYF4OSD diff --git a/src/targets/geprcf405/target.h b/src/targets/geprcf405/target.h index da85c4304..bf40fd969 100644 --- a/src/targets/geprcf405/target.h +++ b/src/targets/geprcf405/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define GEPRCF405 diff --git a/src/targets/geprcf411/target.h b/src/targets/geprcf411/target.h index 58923c4da..588956423 100644 --- a/src/targets/geprcf411/target.h +++ b/src/targets/geprcf411/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define GEPRCF411 diff --git a/src/targets/hglrcf411/target.h b/src/targets/hglrcf411/target.h index f62d8461d..ae773fa1c 100644 --- a/src/targets/hglrcf411/target.h +++ b/src/targets/hglrcf411/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define HGLRCF411 diff --git a/src/targets/hglrcf722/target.h b/src/targets/hglrcf722/target.h index 0b1f4e792..01f5d57f9 100644 --- a/src/targets/hglrcf722/target.h +++ b/src/targets/hglrcf722/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define HGLRCF722 diff --git a/src/targets/hifionrc_f722/target.h b/src/targets/hifionrc_f722/target.h index 6ae9d8281..fe382626a 100644 --- a/src/targets/hifionrc_f722/target.h +++ b/src/targets/hifionrc_f722/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define HIFIONRCF7 diff --git a/src/targets/iflight_blitz_f411_elrs/target.h b/src/targets/iflight_blitz_f411_elrs/target.h index b29e62971..586d8f8ca 100644 --- a/src/targets/iflight_blitz_f411_elrs/target.h +++ b/src/targets/iflight_blitz_f411_elrs/target.h @@ -1,6 +1,6 @@ #include "config.h" -#include "config_helper.h" + #define IFLIGHTF411RX1280 diff --git a/src/targets/iflight_f745_aio_v2/target.h b/src/targets/iflight_f745_aio_v2/target.h index f84293808..ba32667ce 100644 --- a/src/targets/iflight_f745_aio_v2/target.h +++ b/src/targets/iflight_f745_aio_v2/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define iFlightF745AIOv2 diff --git a/src/targets/iflight_h743_aio_v1/target.h b/src/targets/iflight_h743_aio_v1/target.h index be90a3f15..65484a41e 100644 --- a/src/targets/iflight_h743_aio_v1/target.h +++ b/src/targets/iflight_h743_aio_v1/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define IFLIGHT_H743_AIO_V1 diff --git a/src/targets/iflight_h743_aio_v2/target.h b/src/targets/iflight_h743_aio_v2/target.h index c8c856105..f15a6ef0f 100644 --- a/src/targets/iflight_h743_aio_v2/target.h +++ b/src/targets/iflight_h743_aio_v2/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define IFLIGHT_H743_AIO_V2 diff --git a/src/targets/iflight_succex_e_f4/target.h b/src/targets/iflight_succex_e_f4/target.h index fead6166f..3e2623cb5 100644 --- a/src/targets/iflight_succex_e_f4/target.h +++ b/src/targets/iflight_succex_e_f4/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define IFLIGHT_SUCCEX_E_F4 diff --git a/src/targets/iflightf411rx/target.h b/src/targets/iflightf411rx/target.h index ebc273184..0ed982eea 100644 --- a/src/targets/iflightf411rx/target.h +++ b/src/targets/iflightf411rx/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define IFLIGHTF411RX diff --git a/src/targets/jhef405pro/target.h b/src/targets/jhef405pro/target.h index 7c850cb1b..8dd3a1458 100644 --- a/src/targets/jhef405pro/target.h +++ b/src/targets/jhef405pro/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define JHEF405PRO diff --git a/src/targets/kakutef7miniv3/target.h b/src/targets/kakutef7miniv3/target.h index 6aa000c4e..cc834962b 100644 --- a/src/targets/kakutef7miniv3/target.h +++ b/src/targets/kakutef7miniv3/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define KAKUTEF7MINIV3 diff --git a/src/targets/kakutef7v2/target.h b/src/targets/kakutef7v2/target.h index 6805678b1..2990f4b4a 100644 --- a/src/targets/kakutef7v2/target.h +++ b/src/targets/kakutef7v2/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define KAKUTEF7V2 diff --git a/src/targets/kakuteh7/target.h b/src/targets/kakuteh7/target.h index b7b0286ca..1c2cddd04 100644 --- a/src/targets/kakuteh7/target.h +++ b/src/targets/kakuteh7/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define KAKUTEH7 diff --git a/src/targets/luxf4osd/target.h b/src/targets/luxf4osd/target.h index 8e5f4f470..5cb2ba4b9 100644 --- a/src/targets/luxf4osd/target.h +++ b/src/targets/luxf4osd/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" //******************UNCONFIRMED TARGET****************** diff --git a/src/targets/mambaf411/target.h b/src/targets/mambaf411/target.h index 6dd50d492..ce528b720 100644 --- a/src/targets/mambaf411/target.h +++ b/src/targets/mambaf411/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define MAMBAF411 diff --git a/src/targets/mambaf722_i2c/target.h b/src/targets/mambaf722_i2c/target.h index c30ff8680..64e015e96 100644 --- a/src/targets/mambaf722_i2c/target.h +++ b/src/targets/mambaf722_i2c/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define MAMBAF722_I2C diff --git a/src/targets/matekf405/target.h b/src/targets/matekf405/target.h index 087674d71..344b28f7b 100644 --- a/src/targets/matekf405/target.h +++ b/src/targets/matekf405/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define MatekF405 diff --git a/src/targets/matekf411/target.h b/src/targets/matekf411/target.h index 461403fbc..612e39727 100644 --- a/src/targets/matekf411/target.h +++ b/src/targets/matekf411/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define MatekF411 diff --git a/src/targets/matekf411rx/target.h b/src/targets/matekf411rx/target.h index 802c7091d..0d16c99bb 100644 --- a/src/targets/matekf411rx/target.h +++ b/src/targets/matekf411rx/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define MatekF411RX diff --git a/src/targets/matekf765se/target.h b/src/targets/matekf765se/target.h index 380b2f5b8..fba2cefa8 100644 --- a/src/targets/matekf765se/target.h +++ b/src/targets/matekf765se/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define MatekF765SE diff --git a/src/targets/matekh743/target.h b/src/targets/matekh743/target.h index 17a5c798f..026f2c7db 100644 --- a/src/targets/matekh743/target.h +++ b/src/targets/matekh743/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define MATEKH743 diff --git a/src/targets/nbd_infinity_f4/target.h b/src/targets/nbd_infinity_f4/target.h index 379971efa..66d017579 100644 --- a/src/targets/nbd_infinity_f4/target.h +++ b/src/targets/nbd_infinity_f4/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define NBD_Infinity_F4 diff --git a/src/targets/neutronrcf411_elrs/target.h b/src/targets/neutronrcf411_elrs/target.h index a1f3bc293..01fb01767 100644 --- a/src/targets/neutronrcf411_elrs/target.h +++ b/src/targets/neutronrcf411_elrs/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define NeutronRCF411 @@ -35,8 +34,6 @@ #define SX12XX_BUSY_PIN PIN_A13 #define SX12XX_RESET_PIN PIN_B9 - - // OSD #define USE_MAX7456 #define MAX7456_SPI_PORT SPI_PORT2 diff --git a/src/targets/nfe_breadboard/target.h b/src/targets/nfe_breadboard/target.h index 495e4155e..eec1c1ac6 100644 --- a/src/targets/nfe_breadboard/target.h +++ b/src/targets/nfe_breadboard/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define NFE_Breadboard diff --git a/src/targets/nox/target.h b/src/targets/nox/target.h index 63d906114..61a03f541 100644 --- a/src/targets/nox/target.h +++ b/src/targets/nox/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define Nox diff --git a/src/targets/nox_spi_rx/target.h b/src/targets/nox_spi_rx/target.h index 26c2c4b6f..63660d887 100644 --- a/src/targets/nox_spi_rx/target.h +++ b/src/targets/nox_spi_rx/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" // THIS FILE IS SPECFIC TO IANS SETUP, DO NOT USE OTHERWISE diff --git a/src/targets/omnibusf4/target.h b/src/targets/omnibusf4/target.h index fe9ec7c60..57603c67e 100644 --- a/src/targets/omnibusf4/target.h +++ b/src/targets/omnibusf4/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define OmnibusF4 diff --git a/src/targets/omnibusf4sd/target.h b/src/targets/omnibusf4sd/target.h index 29f6ecd64..4bcb81d74 100644 --- a/src/targets/omnibusf4sd/target.h +++ b/src/targets/omnibusf4sd/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define OmnibusF4SD diff --git a/src/targets/pedro_f4/target.h b/src/targets/pedro_f4/target.h index 6f113463b..d551dd734 100644 --- a/src/targets/pedro_f4/target.h +++ b/src/targets/pedro_f4/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define PedroF4 diff --git a/src/targets/pyrodrone_f4/target.h b/src/targets/pyrodrone_f4/target.h index 3ab390973..ecefcbaa5 100644 --- a/src/targets/pyrodrone_f4/target.h +++ b/src/targets/pyrodrone_f4/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define Pyrodrone_F4 diff --git a/src/targets/quicksilver_f4/target.h b/src/targets/quicksilver_f4/target.h index 7c9e85f5d..9195b1640 100644 --- a/src/targets/quicksilver_f4/target.h +++ b/src/targets/quicksilver_f4/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define Quicksilver_F4 diff --git a/src/targets/raceflight_revolt/target.h b/src/targets/raceflight_revolt/target.h index 0511af5ab..90866adfd 100644 --- a/src/targets/raceflight_revolt/target.h +++ b/src/targets/raceflight_revolt/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define Raceflight_Revolt diff --git a/src/targets/speedybeef7mini_v2/target.h b/src/targets/speedybeef7mini_v2/target.h index 36d86ef6f..bd568aec2 100644 --- a/src/targets/speedybeef7mini_v2/target.h +++ b/src/targets/speedybeef7mini_v2/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define SPEEDYBEEF7MINIV2 diff --git a/src/targets/talonf7djihd/target.h b/src/targets/talonf7djihd/target.h index cc4c13ef9..4bfed73b6 100644 --- a/src/targets/talonf7djihd/target.h +++ b/src/targets/talonf7djihd/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define TALONF7DJIHD diff --git a/src/targets/tmotorf7/target.h b/src/targets/tmotorf7/target.h index a7fc96115..063e6321b 100644 --- a/src/targets/tmotorf7/target.h +++ b/src/targets/tmotorf7/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define TMOTORF7 diff --git a/src/targets/tmveloxf411/target.h b/src/targets/tmveloxf411/target.h index 15b0a8c4a..7cd5857fb 100644 --- a/src/targets/tmveloxf411/target.h +++ b/src/targets/tmveloxf411/target.h @@ -1,33 +1,31 @@ #include "config.h" -#include "config_helper.h" #define TMVELOXF411 -//PORTS -#define SPI_PORTS \ - SPI1_PA5PA6PA7 \ +// PORTS +#define SPI_PORTS \ + SPI1_PA5PA6PA7 \ SPI2_PB13PB14PB15 \ SPI3_PB3PB4PB5 #define USART_PORTS \ - USART1_PA10PA9 \ - USART2_PA3PA2 + USART1_PA10PA9 \ + USART2_PA3PA2 -//LEDS +// LEDS #define LED_NUMBER 1 #define LED1PIN PIN_C13 #define LED1_INVERT #define BUZZER_PIN PIN_B2 -//GYRO +// GYRO #define GYRO_SPI_PORT SPI_PORT1 #define GYRO_NSS PIN_A4 #define GYRO_INT PIN_C15 #define GYRO_ORIENTATION GYRO_ROTATE_90_CCW - // OSD #define USE_MAX7456 #define MAX7456_SPI_PORT SPI_PORT2 @@ -37,9 +35,7 @@ #define M25P16_SPI_PORT SPI_PORT3 #define M25P16_NSS_PIN PIN_A15 - - -//VOLTAGE DIVIDER +// VOLTAGE DIVIDER #define VBAT_PIN PIN_A1 #define VBAT_DIVIDER_R1 10000 #define VBAT_DIVIDER_R2 1000 @@ -48,11 +44,11 @@ #define IBAT_SCALE 250 // MOTOR PINS -//S3_OUT +// S3_OUT #define MOTOR_PIN0 MOTOR_PIN_PB6 -//S4_OUT +// S4_OUT #define MOTOR_PIN1 MOTOR_PIN_PB7 -//S1_OUT +// S1_OUT #define MOTOR_PIN2 MOTOR_PIN_PB0 -//S2_OUT +// S2_OUT #define MOTOR_PIN3 MOTOR_PIN_PB1 \ No newline at end of file diff --git a/src/targets/tunercf405/target.h b/src/targets/tunercf405/target.h index 5c52e759f..8a93b2b8e 100644 --- a/src/targets/tunercf405/target.h +++ b/src/targets/tunercf405/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define TUNERCF405 diff --git a/src/targets/zeez_f7_v1/target.h b/src/targets/zeez_f7_v1/target.h index ce6518ed0..1df588b5e 100644 --- a/src/targets/zeez_f7_v1/target.h +++ b/src/targets/zeez_f7_v1/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define ZEEZF7 diff --git a/src/targets/zeusf4evo/target.h b/src/targets/zeusf4evo/target.h index ad65d48cd..173f3ff75 100644 --- a/src/targets/zeusf4evo/target.h +++ b/src/targets/zeusf4evo/target.h @@ -1,5 +1,4 @@ #include "config.h" -#include "config_helper.h" #define ZEUSF4EVO diff --git a/src/targets/zeusf4fr/target.h b/src/targets/zeusf4fr/target.h index 2977853a8..6f6202c6f 100644 --- a/src/targets/zeusf4fr/target.h +++ b/src/targets/zeusf4fr/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define ZEUSF4FR diff --git a/src/targets/zeusf722_aio/target.h b/src/targets/zeusf722_aio/target.h index 3fc9939fd..33c246c9c 100644 --- a/src/targets/zeusf722_aio/target.h +++ b/src/targets/zeusf722_aio/target.h @@ -1,6 +1,5 @@ #include "config.h" -#include "config_helper.h" #define ZEUSF722_AIO