SPRACINGF3NEO - Remove some unneeded target config. (#8332)

SPRACINGF3NEO - Remove some unneeded target config.
This commit is contained in:
Michael Keller 2019-06-05 01:02:56 +12:00 committed by GitHub
commit d16efe6885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 22 deletions

View File

@ -23,34 +23,14 @@
#include "platform.h" #include "platform.h"
#include "common/axis.h"
#include "drivers/sensor.h"
#include "drivers/compass/compass.h"
#include "drivers/serial.h" #include "drivers/serial.h"
#include "fc/rc_controls.h"
#include "flight/failsafe.h"
#include "flight/mixer.h"
#include "flight/pid.h"
#include "pg/rx.h" #include "pg/rx.h"
#include "rx/rx.h" #include "rx/rx.h"
#include "io/serial.h" #include "io/serial.h"
#include "telemetry/telemetry.h" #include "telemetry/telemetry.h"
#include "sensors/sensors.h"
#include "sensors/compass.h"
#include "sensors/barometer.h"
#include "config/feature.h"
#include "fc/config.h"
#ifdef USE_TARGET_CONFIG #ifdef USE_TARGET_CONFIG
#include "config_helper.h" #include "config_helper.h"
@ -68,8 +48,6 @@ static targetSerialPortFunction_t targetSerialPortFunction[] = {
void targetConfiguration(void) void targetConfiguration(void)
{ {
barometerConfigMutable()->baro_hardware = BARO_DEFAULT;
compassConfigMutable()->mag_hardware = MAG_DEFAULT;
targetSerialPortFunctionConfig(targetSerialPortFunction, ARRAYLEN(targetSerialPortFunction)); targetSerialPortFunctionConfig(targetSerialPortFunction, ARRAYLEN(targetSerialPortFunction));
telemetryConfigMutable()->halfDuplex = true; telemetryConfigMutable()->halfDuplex = true;
} }