1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-20 23:05:17 +03:00

Initial code

This commit is contained in:
Darren Lines 2022-11-24 13:38:11 +00:00
parent bce0cec406
commit 7e51f1ff5d
2 changed files with 14 additions and 3 deletions

View file

@ -76,7 +76,8 @@ typedef enum {
LOGIC_CONDITION_MAX = 44,
LOGIC_CONDITION_FLIGHT_AXIS_ANGLE_OVERRIDE = 45,
LOGIC_CONDITION_FLIGHT_AXIS_RATE_OVERRIDE = 46,
LOGIC_CONDITION_LAST = 47,
LOGIC_CONDITION_EDGE = 47,
LOGIC_CONDITION_LAST = 48,
} logicOperation_e;
typedef enum logicOperandType_s {
@ -188,6 +189,7 @@ PG_DECLARE_ARRAY(logicCondition_t, MAX_LOGIC_CONDITIONS, logicConditions);
typedef struct logicConditionState_s {
int value;
uint8_t flags;
timeMs_t timeout;
} logicConditionState_t;
typedef struct rcChannelOverride_s {