Additional inflight adjustments possible

This commit is contained in:
KiteAnton 2016-01-26 19:03:45 +01:00
parent f685635c4f
commit 0d054af27f
1 changed files with 2 additions and 2 deletions

View File

@ -185,10 +185,10 @@ typedef enum {
ADJUSTMENT_ROLL_P,
ADJUSTMENT_ROLL_I,
ADJUSTMENT_ROLL_D,
ADJUSTMENT_FUNCTION_COUNT,
} adjustmentFunction_e;
#define ADJUSTMENT_FUNCTION_COUNT 21
typedef enum {
ADJUSTMENT_MODE_STEP,
@ -240,7 +240,7 @@ typedef struct adjustmentState_s {
#define MAX_SIMULTANEOUS_ADJUSTMENT_COUNT 4 // enough for 4 x 3position switches / 4 aux channel
#endif
#define MAX_ADJUSTMENT_RANGE_COUNT 12 // enough for 2 * 6pos switches.
#define MAX_ADJUSTMENT_RANGE_COUNT 15
void resetAdjustmentStates(void);
void configureAdjustment(uint8_t index, uint8_t auxChannelIndex, const adjustmentConfig_t *adjustmentConfig);