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
b10ec63c
Unverified
Commit
b10ec63c
authored
Mar 31, 2021
by
Paweł Spychalski
Committed by
GitHub
Mar 31, 2021
Browse files
Merge pull request #1216 from iNavFlight/dzikuvx-remove-PMW3901
remove PMW3901 driver select
parents
5d8f556e
5b49ce7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/fc.js
View file @
b10ec63c
...
...
@@ -868,7 +868,11 @@ var FC = {
return
[
"
NONE
"
,
"
HCSR04
"
,
"
SRF10
"
,
"
INAV_I2C
"
,
"
VL53L0X
"
,
"
MSP
"
,
"
UIB
"
,
"
Benewake TFmini
"
];
},
getOpticalFlowNames
:
function
()
{
return
[
"
NONE
"
,
"
PMW3901
"
,
"
CXOF
"
,
"
MSP
"
,
"
FAKE
"
];
if
(
semver
.
gte
(
CONFIG
.
flightControllerVersion
,
"
2.7.0
"
))
{
return
[
"
NONE
"
,
"
CXOF
"
,
"
MSP
"
,
"
FAKE
"
];
}
else
{
return
[
"
NONE
"
,
"
PMW3901
"
,
"
CXOF
"
,
"
MSP
"
,
"
FAKE
"
];
}
},
getArmingFlags
:
function
()
{
return
{
...
...
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