1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-22 15:55:28 +03:00

Allow FF tuning for Rovers and Boats

This commit is contained in:
Pawel Spychalski (DzikuVx) 2020-04-12 15:27:23 +02:00
parent 7f4ec9a559
commit 2470fdbac0

View file

@ -63,10 +63,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 = {