mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 04:15:28 +03:00
Add pitot ADC and VIRTUAL
This commit is contained in:
parent
00f5240ec2
commit
ae8c7b1b54
2 changed files with 12 additions and 2 deletions
7
js/fc.js
7
js/fc.js
|
@ -704,7 +704,12 @@ var FC = {
|
|||
}
|
||||
},
|
||||
getPitotNames: function () {
|
||||
return ["NONE", "AUTO", "MS4525", "FAKE"];
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "1.6.3")) {
|
||||
return ["NONE", "AUTO", "MS4525", "ADC", "VIRTUAL", "FAKE"];
|
||||
}
|
||||
else {
|
||||
return ["NONE", "AUTO", "MS4525", "FAKE"];
|
||||
}
|
||||
},
|
||||
getRangefinderNames: function () {
|
||||
return ["NONE", "AUTO", "HCSR04", "SRF10"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue