mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Added PG config definitions 8
This commit is contained in:
parent
3be6441e74
commit
7ae57eb8cf
10 changed files with 78 additions and 16 deletions
|
@ -87,6 +87,12 @@ typedef struct pidProfile_s {
|
|||
} pidProfile_t;
|
||||
|
||||
//PG_DECLARE_PROFILE(pidProfile_t, pidProfile);
|
||||
#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 {
|
||||
uint8_t pid_process_denom; // Processing denominator for PID controller vs gyro sampling rate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue