mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Relocate some structures and code to the right places.
This cleans up the include file order somewhat and fixes a couple of dependencies. The goal of this is to rename flight.c/flight.h to pid.c/pid.h.
This commit is contained in:
parent
a9b2c39872
commit
53406a7ac7
20 changed files with 198 additions and 145 deletions
|
@ -31,9 +31,6 @@
|
|||
|
||||
#include "drivers/system.h"
|
||||
|
||||
#include "flight/flight.h"
|
||||
#include "flight/navigation.h"
|
||||
|
||||
#include "drivers/sensor.h"
|
||||
#include "drivers/accgyro.h"
|
||||
|
||||
|
@ -45,13 +42,18 @@
|
|||
|
||||
#include "io/gps.h"
|
||||
#include "io/beeper.h"
|
||||
#include "mw.h"
|
||||
|
||||
#include "rx/rx.h"
|
||||
#include "io/escservo.h"
|
||||
#include "io/rc_controls.h"
|
||||
#include "io/rc_curves.h"
|
||||
|
||||
#include "flight/flight.h"
|
||||
#include "flight/navigation.h"
|
||||
|
||||
#include "mw.h"
|
||||
|
||||
|
||||
static escAndServoConfig_t *escAndServoConfig;
|
||||
static pidProfile_t *pidProfile;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue