mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-12 19:10:27 +03:00
Rename servo input ONE to MAX
This commit is contained in:
parent
12c3278e71
commit
debbf9ec43
3 changed files with 3 additions and 3 deletions
|
@ -82,7 +82,7 @@ Each servo mixing rule has the following parameters:
|
|||
| 26 | Stabilized PITCH- | Clipped between -1000 and 0 |
|
||||
| 27 | Stabilized YAW+ | Clipped between 0 and 1000 |
|
||||
| 28 | Stabilized YAW- | Clipped between -1000 and 0 |
|
||||
| 29 | One | Constant value of 500 |
|
||||
| 29 | MAX | Constant value of 500 |
|
||||
|
||||
The `smix reset` command removes all the existing motor mixing rules.
|
||||
|
||||
|
|
|
@ -263,7 +263,7 @@ void servoMixer(float dT)
|
|||
|
||||
input[INPUT_FEATURE_FLAPS] = FLIGHT_MODE(FLAPERON) ? servoConfig()->flaperon_throw_offset : 0;
|
||||
|
||||
input[INPUT_LOGIC_ONE] = 500;
|
||||
input[INPUT_MAX] = 500;
|
||||
#ifdef USE_LOGIC_CONDITIONS
|
||||
input[INPUT_GVAR_0] = constrain(gvGet(0), -1000, 1000);
|
||||
input[INPUT_GVAR_1] = constrain(gvGet(1), -1000, 1000);
|
||||
|
|
|
@ -53,7 +53,7 @@ typedef enum {
|
|||
INPUT_STABILIZED_PITCH_MINUS = 26,
|
||||
INPUT_STABILIZED_YAW_PLUS = 27,
|
||||
INPUT_STABILIZED_YAW_MINUS = 28,
|
||||
INPUT_LOGIC_ONE = 29,
|
||||
INPUT_MAX = 29,
|
||||
INPUT_GVAR_0 = 30,
|
||||
INPUT_GVAR_1 = 31,
|
||||
INPUT_GVAR_2 = 32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue