Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
deltaflight
Delta Configurator
Commits
f2adf8d7
Unverified
Commit
f2adf8d7
authored
Mar 21, 2021
by
Darren Lines
Committed by
GitHub
Mar 21, 2021
Browse files
Update fc.js
Updated as per @DzikuVx 's request
parent
6981de93
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/fc.js
View file @
f2adf8d7
...
...
@@ -71,7 +71,7 @@ var FC = {
return
(
MIXER_CONFIG
.
platformType
==
PLATFORM_AIRPLANE
||
MIXER_CONFIG
.
platformType
==
PLATFORM_ROVER
||
MIXER_CONFIG
.
platformType
==
PLATFORM_BOAT
)
||
((
MIXER_CONFIG
.
platformType
==
PLATFORM_MULTIROTOR
||
MIXER_CONFIG
.
platformType
==
PLATFORM_TRICOPTER
)
&&
semver
.
gte
(
CONFIG
.
flightControllerVersion
,
"
2.6.0
"
));
},
isRpyDComponentUsed
:
function
()
{
return
MIXER_CONFIG
.
platformType
==
PLATFORM_AIRPLANE
||
MIXER_CONFIG
.
platformType
==
PLATFORM_MULTIROTOR
||
MIXER_CONFIG
.
platformType
==
PLATFORM_TRICOPTER
;
return
true
;
// Currently all platforms use D term
},
isCdComponentUsed
:
function
()
{
return
FC
.
isRpyDComponentUsed
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment