mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 04:15:28 +03:00
old mixer section hiden on compatible FC version
This commit is contained in:
parent
c1fe0ede87
commit
48c67874f9
2 changed files with 11 additions and 0 deletions
3
js/fc.js
3
js/fc.js
|
@ -60,6 +60,9 @@ var FC = {
|
|||
isRatesInDps: function () {
|
||||
return !!(typeof CONFIG != "undefined" && CONFIG.flightControllerIdentifier == "INAV" && semver.gt(CONFIG.flightControllerVersion, "1.1.0"));
|
||||
},
|
||||
isNewMixer: function () {
|
||||
return !!(typeof CONFIG != "undefined" && semver.gte(CONFIG.flightControllerVersion, "1.9.1"));
|
||||
},
|
||||
resetState: function () {
|
||||
SENSOR_STATUS = {
|
||||
isHardwareHealthy: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue