Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2020-04-12 16:27:23 +0300
committerPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2020-04-12 16:27:23 +0300
commit2470fdbac02d1ab4b7ee10f5816f07d4fd2fff33 (patch)
tree849b7e08a3e10c79e7dada0c32077209a41fdde8 /js
parent7f4ec9a559fd8036b4764689ae11bbb4f8130890 (diff)
Allow FF tuning for Rovers and Boats
Diffstat (limited to 'js')
-rw-r--r--js/fc.js4
1 files 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 = {