1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-23 16:25:19 +03:00

Merge remote-tracking branch 'origin/master' into dzikuvx-global-functions-ui

This commit is contained in:
Pawel Spychalski (DzikuVx) 2020-04-13 13:10:00 +02:00
commit dd551f5ecb
4 changed files with 74 additions and 16 deletions

View file

@ -66,10 +66,10 @@ var FC = {
MAX_SERVO_RATE: 125,
MIN_SERVO_RATE: 0,
isRpyFfComponentUsed: function () {
return MIXER_CONFIG.platformType == PLATFORM_AIRPLANE;
return MIXER_CONFIG.platformType == PLATFORM_AIRPLANE || MIXER_CONFIG.platformType == PLATFORM_ROVER || MIXER_CONFIG.platformType == PLATFORM_BOAT;
},
isRpyDComponentUsed: function () {
return MIXER_CONFIG.platformType != PLATFORM_AIRPLANE;
return !FC.isRpyFfComponentUsed();
},
resetState: function () {
SENSOR_STATUS = {