1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-24 16:55:22 +03:00

Add new RTH mode AT_LEAST_LINEAR_DESCENT to GUI (#788)

This commit is contained in:
Michel Pastor 2019-06-04 02:16:42 +02:00 committed by GitHub
parent c8dc651067
commit a60c481e13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"];