diff --git a/js/fc.js b/js/fc.js index f11996a1..09671e66 100644 --- a/js/fc.js +++ b/js/fc.js @@ -1204,24 +1204,21 @@ var FC = { 20: "Is Controlling Position", 21: "Is Emergency Landing", 22: "Is RTH", - 23: "Is WP", - 24: "Is Landing", - 25: "Is Failsafe", - 26: "Stabilized Roll", - 27: "Stabilized Pitch", - 28: "Stabilized Yaw", - 29: "Current Waypoint Index", - 30: "Current Waypoint Action", - 31: "3D home distance [m]", - 32: "CRSF LQ", - 33: "CRSF SNR", - 34: "GPS Valid Fix", - 35: "Loiter Radius [cm]", - 36: "Active Profile", - 37: "Battery cells", - 38: "AGL status [0/1]", - 39: "AGL [cm]", - 40: "Rangefinder [cm]", + 23: "Is Landing", + 24: "Is Failsafe", + 25: "Stabilized Roll", + 26: "Stabilized Pitch", + 27: "Stabilized Yaw", + 28: "3D home distance [m]", + 29: "CRSF LQ", + 30: "CRSF SNR", + 31: "GPS Valid Fix", + 32: "Loiter Radius [cm]", + 33: "Active Profile", + 34: "Battery cells", + 35: "AGL status [0/1]", + 36: "AGL [cm]", + 37: "Rangefinder [cm]", } }, 3: { @@ -1262,7 +1259,23 @@ var FC = { type: "range", range: [0, 3], default: 0 - } + }, + 7: { + name: "Waypoints", + type: "dictionary", + default: 0, + values: { + 0: "Is WP", + 1: "Current Waypoint Index", + 2: "Current Waypoint Action", + 3: "Next Waypoint Distance [m]", + 4: "Distance from Waypoint [m]", + 5: "User Action 1", + 6: "User Action 2", + 7: "User Action 3", + 8: "User Action 4", + } + }, } }, getBatteryProfileParameters: function () {