mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Allow inflight adjustment of throttle expo.
This commit is contained in:
parent
f166ca3516
commit
4a90599e3a
3 changed files with 18 additions and 5 deletions
|
@ -137,11 +137,12 @@ typedef enum {
|
|||
ADJUSTMENT_NONE = 0,
|
||||
ADJUSTMENT_RC_RATE,
|
||||
ADJUSTMENT_RC_EXPO,
|
||||
ADJUSTMENT_THROTTLE_EXPO,
|
||||
ADJUSTMENT_PITCH_ROLL_RATE,
|
||||
ADJUSTMENT_YAW_RATE,
|
||||
} adjustmentFunction_e;
|
||||
|
||||
#define ADJUSTMENT_FUNCTION_COUNT 5
|
||||
#define ADJUSTMENT_FUNCTION_COUNT 6
|
||||
|
||||
typedef struct adjustmentConfig_s {
|
||||
uint8_t adjustmentFunction;
|
||||
|
@ -170,5 +171,3 @@ void configureAdjustment(uint8_t index, uint8_t auxChannelIndex, const adjustmen
|
|||
void updateAdjustmentStates(adjustmentRange_t *adjustmentRanges);
|
||||
void processRcAdjustments(controlRateConfig_t *controlRateConfig, rxConfig_t *rxConfig);
|
||||
|
||||
void useRcControlsConfig(modeActivationCondition_t *modeActivationConditions);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue