mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 16:25:19 +03:00
Merge remote-tracking branch 'origin/master' into dzikuvx-global-functions-ui
This commit is contained in:
commit
dd551f5ecb
4 changed files with 74 additions and 16 deletions
4
js/fc.js
4
js/fc.js
|
@ -66,10 +66,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