mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-20 23:05:17 +03:00
Added PID Profiles to Programming framework
## Added PID Profiles to Programming framework This allows setting the profile and getting the active profile in the programming framework.
This commit is contained in:
parent
05629c8669
commit
51d5df1690
2 changed files with 17 additions and 1 deletions
|
@ -70,7 +70,8 @@ typedef enum {
|
|||
LOGIC_CONDITION_RC_CHANNEL_OVERRIDE = 38,
|
||||
LOGIC_CONDITION_SET_HEADING_TARGET = 39,
|
||||
LOGIC_CONDITION_MODULUS = 40,
|
||||
LOGIC_CONDITION_LAST = 41,
|
||||
LOGIC_CONDITION_SET_PID_PROFILE = 41,
|
||||
LOGIC_CONDITION_LAST = 42,
|
||||
} logicOperation_e;
|
||||
|
||||
typedef enum logicOperandType_s {
|
||||
|
@ -120,6 +121,7 @@ typedef enum {
|
|||
LOGIC_CONDITION_OPERAND_FLIGHT_CRSF_LQ, // 32
|
||||
LOGIC_CONDITION_OPERAND_FLIGHT_CRSF_SNR, // 33
|
||||
LOGIC_CONDITION_OPERAND_FLIGHT_GPS_VALID, // 0/1 // 34
|
||||
LOGIC_CONDITION_OPERAND_FLIGHT_PID_PROFILE, //int // 35
|
||||
|
||||
} logicFlightOperands_e;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue