mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Merge pull request #9759 from etracer65/pid_init_separate
Split initialization from pid.c for flash savings
This commit is contained in:
commit
a8085bef8b
16 changed files with 798 additions and 710 deletions
|
@ -376,6 +376,7 @@ pid_unittest_SRC := \
|
|||
$(USER_DIR)/drivers/accgyro/gyro_sync.c \
|
||||
$(USER_DIR)/fc/runtime_config.c \
|
||||
$(USER_DIR)/flight/pid.c \
|
||||
$(USER_DIR)/flight/pid_init.c \
|
||||
$(USER_DIR)/pg/pg.c
|
||||
|
||||
pid_unittest_DEFINES := \
|
||||
|
|
|
@ -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