mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 09:16:07 +03:00
Maintain FNV checksums per PG to only write if config updated
This commit is contained in:
parent
9e894586b7
commit
fdd7990a29
6 changed files with 85 additions and 31 deletions
|
@ -106,7 +106,9 @@ blackbox_encoding_unittest_SRC := \
|
|||
|
||||
cli_unittest_SRC := \
|
||||
$(USER_DIR)/cli/cli.c \
|
||||
$(USER_DIR)/common/crc.c \
|
||||
$(USER_DIR)/common/printf.c \
|
||||
$(USER_DIR)/common/streambuf.c \
|
||||
$(USER_DIR)/config/feature.c \
|
||||
$(USER_DIR)/pg/pg.c \
|
||||
$(USER_DIR)/common/typeconversion.c
|
||||
|
@ -227,6 +229,8 @@ link_quality_unittest_DEFINES := \
|
|||
USE_RX_LINK_QUALITY_INFO=
|
||||
|
||||
pg_unittest_SRC := \
|
||||
$(USER_DIR)/common/crc.c \
|
||||
$(USER_DIR)/common/streambuf.c \
|
||||
$(USER_DIR)/pg/pg.c
|
||||
|
||||
|
||||
|
@ -234,7 +238,9 @@ rc_controls_unittest_SRC := \
|
|||
$(USER_DIR)/fc/rc_controls.c \
|
||||
$(USER_DIR)/pg/pg.c \
|
||||
$(USER_DIR)/common/bitarray.c \
|
||||
$(USER_DIR)/common/crc.c \
|
||||
$(USER_DIR)/common/maths.c \
|
||||
$(USER_DIR)/common/streambuf.c \
|
||||
$(USER_DIR)/fc/rc_adjustments.c \
|
||||
$(USER_DIR)/fc/rc_modes.c
|
||||
|
||||
|
@ -254,7 +260,9 @@ rx_ibus_unittest_SRC := \
|
|||
|
||||
rx_ranges_unittest_SRC := \
|
||||
$(USER_DIR)/common/bitarray.c \
|
||||
$(USER_DIR)/common/crc.c \
|
||||
$(USER_DIR)/common/maths.c \
|
||||
$(USER_DIR)/common/streambuf.c \
|
||||
$(USER_DIR)/fc/rc_modes.c \
|
||||
$(USER_DIR)/rx/rx.c \
|
||||
$(USER_DIR)/pg/pg.c \
|
||||
|
@ -287,7 +295,9 @@ sensor_gyro_unittest_SRC := \
|
|||
$(USER_DIR)/sensors/gyro_init.c \
|
||||
$(USER_DIR)/sensors/boardalignment.c \
|
||||
$(USER_DIR)/common/filter.c \
|
||||
$(USER_DIR)/common/crc.c \
|
||||
$(USER_DIR)/common/maths.c \
|
||||
$(USER_DIR)/common/streambuf.c \
|
||||
$(USER_DIR)/common/sensor_alignment.c \
|
||||
$(USER_DIR)/drivers/accgyro/accgyro_fake.c \
|
||||
$(USER_DIR)/drivers/accgyro/gyro_sync.c \
|
||||
|
@ -378,8 +388,10 @@ rcdevice_unittest_SRC := \
|
|||
$(USER_DIR)/pg/pg.c \
|
||||
|
||||
pid_unittest_SRC := \
|
||||
$(USER_DIR)/common/crc.c \
|
||||
$(USER_DIR)/common/filter.c \
|
||||
$(USER_DIR)/common/maths.c \
|
||||
$(USER_DIR)/common/streambuf.c \
|
||||
$(USER_DIR)/drivers/accgyro/gyro_sync.c \
|
||||
$(USER_DIR)/fc/controlrate_profile.c \
|
||||
$(USER_DIR)/fc/runtime_config.c \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue