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
6981de93
Unverified
Commit
6981de93
authored
Mar 10, 2021
by
Darren Lines
Committed by
GitHub
Mar 10, 2021
Browse files
Update fc.js
Changed logic to allow the D to be editable for airplanes. This is for the new PIDFF update.
parent
1336cc2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/fc.js
View file @
6981de93
...
...
@@ -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_MULTIROTOR
||
MIXER_CONFIG
.
platformType
==
PLATFORM_TRICOPTER
;
return
MIXER_CONFIG
.
platformType
==
PLATFORM_AIRPLANE
||
MIXER_CONFIG
.
platformType
==
PLATFORM_MULTIROTOR
||
MIXER_CONFIG
.
platformType
==
PLATFORM_TRICOPTER
;
},
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