mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 21:05:28 +03:00
Merge pull request #958 from iNavFlight/dzikuvx-allow-ff-for-rovers
Allow FF tuning for Rovers and Boats
This commit is contained in:
commit
a27d78bd3a
1 changed files with 2 additions and 2 deletions
4
js/fc.js
4
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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue