Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMichel Pastor <shellixyz@users.noreply.github.com>2019-06-04 03:16:42 +0300
committerGitHub <noreply@github.com>2019-06-04 03:16:42 +0300
commita60c481e13b8b96ccbc59b1094392c63091aaa2e (patch)
treedd3c48365dc8bcd17328733c9ac14d195de66822 /js
parentc8dc6510674383d7aa44f28f0bfe1e36a0cbe6f3 (diff)
Add new RTH mode AT_LEAST_LINEAR_DESCENT to GUI (#788)
Diffstat (limited to 'js')
-rw-r--r--js/fc.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/fc.js b/js/fc.js
index d9a41500..5747ee63 100644
--- a/js/fc.js
+++ b/js/fc.js
@@ -1064,7 +1064,10 @@ var FC = {
];
},
getRthAltControlMode: function () {
- return ["Current", "Extra", "Fixed", "Max", "At Least"];
+ if (semver.gte(CONFIG.flightControllerVersion, '2.2.0'))
+ return ["Current", "Extra", "Fixed", "Max", "At least", "At least, linear descent"];
+ else
+ return ["Current", "Extra", "Fixed", "Max", "At least"];
},
getRthAllowLanding: function() {
return ["Never", "Always", "Only on failsafe"];