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:
parent
c8dc651067
commit
a60c481e13
1 changed files with 4 additions and 1 deletions
5
js/fc.js
5
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"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue