1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

CF/BF - First cut of allow building of the OSD SLAVE board without all

the flight controller code.

Likely the dependencies can be further improved.  This is a
minimal-impact solution while there are a lot of other Betaflight PR's
still pending.
This commit is contained in:
Hydra 2017-04-09 18:16:10 +01:00 committed by Dominic Clifton
parent 2ec39de031
commit 2b1dac4c6d
38 changed files with 923 additions and 409 deletions

View file

@ -85,11 +85,6 @@ typedef struct pidProfile_s {
uint16_t rateAccelLimit; // accel limiter roll/pitch deg/sec/ms
} pidProfile_t;
#if FLASH_SIZE <= 128
#define MAX_PROFILE_COUNT 2
#else
#define MAX_PROFILE_COUNT 3
#endif
PG_DECLARE_ARRAY(pidProfile_t, MAX_PROFILE_COUNT, pidProfiles);
typedef struct pidConfig_s {