From 2470fdbac02d1ab4b7ee10f5816f07d4fd2fff33 Mon Sep 17 00:00:00 2001 From: "Pawel Spychalski (DzikuVx)" Date: Sun, 12 Apr 2020 15:27:23 +0200 Subject: [PATCH] Allow FF tuning for Rovers and Boats --- js/fc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/fc.js b/js/fc.js index 6a463571..38098024 100644 --- a/js/fc.js +++ b/js/fc.js @@ -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 = {