mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Merge pull request #6792 from onelivesleft/patch-1
Increase MAX_ADJUSTMENT_RANGE_COUNT from 15 to 30
This commit is contained in:
commit
d557203fac
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@
|
|||
|
||||
#define ADJUSTMENT_RANGE_COUNT_INVALID -1
|
||||
|
||||
PG_REGISTER_ARRAY(adjustmentRange_t, MAX_ADJUSTMENT_RANGE_COUNT, adjustmentRanges, PG_ADJUSTMENT_RANGE_CONFIG, 0);
|
||||
PG_REGISTER_ARRAY(adjustmentRange_t, MAX_ADJUSTMENT_RANGE_COUNT, adjustmentRanges, PG_ADJUSTMENT_RANGE_CONFIG, 1);
|
||||
|
||||
uint8_t pidAudioPositionToModeMap[7] = {
|
||||
// on a pot with a center detent, it's easy to have center area for off/default, then three positions to the left and three to the right.
|
||||
|
|
|
@ -77,7 +77,7 @@ typedef struct adjustmentConfig_s {
|
|||
adjustmentData_t data;
|
||||
} adjustmentConfig_t;
|
||||
|
||||
#define MAX_ADJUSTMENT_RANGE_COUNT 15
|
||||
#define MAX_ADJUSTMENT_RANGE_COUNT 30
|
||||
|
||||
typedef struct adjustmentRange_s {
|
||||
// when aux channel is in range...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue