mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
Merge pull request #11770 from haslinghuis/raise-profile-count
This commit is contained in:
commit
9f62bccaa6
2 changed files with 7 additions and 4 deletions
|
@ -246,9 +246,12 @@ extern uint8_t _dmaram_end__;
|
||||||
#define USE_SERIALRX_SPEKTRUM // SRXL, DSM2 and DSMX protocol
|
#define USE_SERIALRX_SPEKTRUM // SRXL, DSM2 and DSMX protocol
|
||||||
#define USE_SERIALRX_SUMD // Graupner Hott protocol
|
#define USE_SERIALRX_SUMD // Graupner Hott protocol
|
||||||
|
|
||||||
#if (TARGET_FLASH_SIZE > 128)
|
#if (TARGET_FLASH_SIZE > 256)
|
||||||
|
#define PID_PROFILE_COUNT 4
|
||||||
|
#define CONTROL_RATE_PROFILE_COUNT 4
|
||||||
|
#elif (TARGET_FLASH_SIZE > 128)
|
||||||
#define PID_PROFILE_COUNT 3
|
#define PID_PROFILE_COUNT 3
|
||||||
#define CONTROL_RATE_PROFILE_COUNT 6
|
#define CONTROL_RATE_PROFILE_COUNT 4
|
||||||
#else
|
#else
|
||||||
#define PID_PROFILE_COUNT 2
|
#define PID_PROFILE_COUNT 2
|
||||||
#define CONTROL_RATE_PROFILE_COUNT 3
|
#define CONTROL_RATE_PROFILE_COUNT 3
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
#define FAST_DATA_ZERO_INIT
|
#define FAST_DATA_ZERO_INIT
|
||||||
#define FAST_DATA
|
#define FAST_DATA
|
||||||
|
|
||||||
#define PID_PROFILE_COUNT 3
|
#define PID_PROFILE_COUNT 4
|
||||||
#define CONTROL_RATE_PROFILE_COUNT 6
|
#define CONTROL_RATE_PROFILE_COUNT 4
|
||||||
#define USE_MAG
|
#define USE_MAG
|
||||||
#define USE_BARO
|
#define USE_BARO
|
||||||
#define USE_GPS
|
#define USE_GPS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue