mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Merge pull request #3040 from martinbudden/bf_spracingf4evo_tidy
Tidy SPRACINGF4EVO config.c
This commit is contained in:
commit
b60662325c
1 changed files with 3 additions and 19 deletions
|
@ -20,33 +20,17 @@
|
||||||
|
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
|
|
||||||
#include "common/axis.h"
|
#ifdef TARGET_CONFIG
|
||||||
|
|
||||||
#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 "rx/rx.h"
|
|
||||||
|
|
||||||
#include "io/serial.h"
|
#include "io/serial.h"
|
||||||
|
|
||||||
#include "telemetry/telemetry.h"
|
#include "rx/rx.h"
|
||||||
|
|
||||||
#include "sensors/sensors.h"
|
|
||||||
#include "sensors/compass.h"
|
|
||||||
#include "sensors/barometer.h"
|
#include "sensors/barometer.h"
|
||||||
|
|
||||||
#include "config/feature.h"
|
#include "telemetry/telemetry.h"
|
||||||
|
|
||||||
#include "fc/config.h"
|
|
||||||
|
|
||||||
#ifdef TARGET_CONFIG
|
|
||||||
void targetConfiguration(void)
|
void targetConfiguration(void)
|
||||||
{
|
{
|
||||||
barometerConfigMutable()->baro_hardware = BARO_DEFAULT;
|
barometerConfigMutable()->baro_hardware = BARO_DEFAULT;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue