1
0
Fork 0
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:
Pawel Spychalski (DzikuVx) 2018-03-29 18:20:29 +02:00
parent c1fe0ede87
commit 48c67874f9
2 changed files with 11 additions and 0 deletions

View file

@ -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,