1
0
Fork 0
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:
Michael Keller 2018-09-26 19:30:45 +12:00 committed by GitHub
commit d557203fac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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...