mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +03:00
Split initialization from pid.c for flash savings
Move low performance requirements initialization code into pid_init.c and optimize that for size. Saves 2688 bytes for target STM32F7X2.
This commit is contained in:
parent
b480103d42
commit
c06106e2d1
16 changed files with 798 additions and 710 deletions
|
@ -52,9 +52,10 @@ extern "C" {
|
|||
#include "fc/rc_controls.h"
|
||||
#include "fc/runtime_config.h"
|
||||
|
||||
#include "flight/pid.h"
|
||||
#include "flight/imu.h"
|
||||
#include "flight/mixer.h"
|
||||
#include "flight/pid.h"
|
||||
#include "flight/pid_init.h"
|
||||
|
||||
#include "io/gps.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue