diff options
author | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2020-04-12 16:27:23 +0300 |
---|---|---|
committer | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2020-04-12 16:27:23 +0300 |
commit | 2470fdbac02d1ab4b7ee10f5816f07d4fd2fff33 (patch) | |
tree | 849b7e08a3e10c79e7dada0c32077209a41fdde8 /js | |
parent | 7f4ec9a559fd8036b4764689ae11bbb4f8130890 (diff) |
Allow FF tuning for Rovers and Boats
Diffstat (limited to 'js')
-rw-r--r-- | js/fc.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 = { |