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

add distance to WP

needs testing ... and compiling even. Coding at work is blind xD
This commit is contained in:
Darren Lines 2022-11-23 13:35:18 +00:00
parent 775a080768
commit 7115d03276
2 changed files with 22 additions and 3 deletions

View file

@ -150,9 +150,10 @@ typedef enum {
} logicFlightModeOperands_e;
typedef enum {
LOGIC_CONDITION_OPERAND_WAYPOINTS_IS_WP, // 0/1 // 1
LOGIC_CONDITION_OPERAND_WAYPOINTS_WAYPOINT_INDEX, // 2
LOGIC_CONDITION_OPERAND_WAYPOINTS_WAYPOINT_ACTION, // 3
LOGIC_CONDITION_OPERAND_WAYPOINTS_IS_WP, // 0/1 // 1
LOGIC_CONDITION_OPERAND_WAYPOINTS_WAYPOINT_INDEX, // 2
LOGIC_CONDITION_OPERAND_WAYPOINTS_WAYPOINT_ACTION, // 3
LOGIC_CONDITION_OPERAND_WAYPOINTS_WAYPOINT_DISTANCE, // 4
} logicWaypointOperands_e;
typedef enum {