1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Merge pull request #9759 from etracer65/pid_init_separate

Split initialization from pid.c for flash savings
This commit is contained in:
Michael Keller 2020-06-22 00:35:42 +12:00 committed by GitHub
commit a8085bef8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 798 additions and 710 deletions

View file

@ -97,6 +97,7 @@ COMMON_SRC = \
flight/mixer.c \
flight/mixer_tricopter.c \
flight/pid.c \
flight/pid_init.c \
flight/rpm_filter.c \
flight/servos.c \
flight/servos_tricopter.c \
@ -346,7 +347,8 @@ SIZE_OPTIMISED_SRC := $(SIZE_OPTIMISED_SRC) \
osd/osd.c \
osd/osd_elements.c \
rx/rx_bind.c \
sensors/gyro_init.c
sensors/gyro_init.c\
flight/pid_init.c
# Gyro driver files that only contain initialization and configuration code - not runtime code
SIZE_OPTIMISED_SRC := $(SIZE_OPTIMISED_SRC) \