diff options
author | Michel Pastor <shellixyz@users.noreply.github.com> | 2019-06-04 03:16:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-04 03:16:42 +0300 |
commit | a60c481e13b8b96ccbc59b1094392c63091aaa2e (patch) | |
tree | dd3c48365dc8bcd17328733c9ac14d195de66822 /js | |
parent | c8dc6510674383d7aa44f28f0bfe1e36a0cbe6f3 (diff) |
Add new RTH mode AT_LEAST_LINEAR_DESCENT to GUI (#788)
Diffstat (limited to 'js')
-rw-r--r-- | js/fc.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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"]; |