mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
SPRACINGF3NEO - Remove some unneeded target config.
The defaults in pgResetFn_barometerConfig and pgResetFn_compassConfig are fine.
This commit is contained in:
parent
e7e65ae00e
commit
2c468ec334
1 changed files with 0 additions and 22 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue