1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 04:15:44 +03:00

SPRACINGF3NEO - Remove some unneeded target config.

The defaults in pgResetFn_barometerConfig and pgResetFn_compassConfig
are fine.
This commit is contained in:
Dominic Clifton 2019-05-22 14:56:06 +02:00
parent e7e65ae00e
commit 2c468ec334

View file

@ -23,34 +23,14 @@
#include "platform.h"
#include "common/axis.h"
#include "drivers/sensor.h"
#include "drivers/compass/compass.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 "rx/rx.h"
#include "io/serial.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
#include "config_helper.h"
@ -68,8 +48,6 @@ static targetSerialPortFunction_t targetSerialPortFunction[] = {
void targetConfiguration(void)
{
barometerConfigMutable()->baro_hardware = BARO_DEFAULT;
compassConfigMutable()->mag_hardware = MAG_DEFAULT;
targetSerialPortFunctionConfig(targetSerialPortFunction, ARRAYLEN(targetSerialPortFunction));
telemetryConfigMutable()->halfDuplex = true;
}