mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +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
|
@ -38,6 +38,7 @@
|
|||
#include "common/maths.h"
|
||||
#include "common/printf_serial.h"
|
||||
|
||||
#include "config/config.h"
|
||||
#include "config/config_eeprom.h"
|
||||
#include "config/feature.h"
|
||||
|
||||
|
@ -83,7 +84,6 @@
|
|||
#include "drivers/vtx_table.h"
|
||||
|
||||
#include "fc/board_info.h"
|
||||
#include "config/config.h"
|
||||
#include "fc/dispatch.h"
|
||||
#include "fc/init.h"
|
||||
#include "fc/rc_controls.h"
|
||||
|
@ -95,6 +95,7 @@
|
|||
#include "flight/imu.h"
|
||||
#include "flight/mixer.h"
|
||||
#include "flight/pid.h"
|
||||
#include "flight/pid_init.h"
|
||||
#include "flight/rpm_filter.h"
|
||||
#include "flight/servos.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue