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
3fc65476
Unverified
Commit
3fc65476
authored
Apr 16, 2021
by
Paweł Spychalski
Committed by
GitHub
Apr 16, 2021
Browse files
Merge pull request #1228 from iNavFlight/dzikuvx-imu2-port-function
Secdondary IMU2 port function
parents
2797474b
65898501
Changes
3
Hide whitespace changes
Inline
Side-by-side
_locales/en/messages.json
View file @
3fc65476
...
...
@@ -1043,6 +1043,9 @@
"portsFunction_DJI_FPV"
:
{
"message"
:
"DJI FPV VTX"
},
"portsFunction_IMU2"
:
{
"message"
:
"Secondary IMU"
},
"pidTuningName"
:
{
"message"
:
"Name"
},
...
...
js/msp/MSPHelper.js
View file @
3fc65476
...
...
@@ -43,6 +43,7 @@ var mspHelper = (function (gui) {
'
FRSKY_OSD
'
:
20
,
'
DJI_FPV
'
:
21
,
'
SMARTPORT_MASTER
'
:
23
,
'
IMU2
'
:
24
,
};
// Required for MSP_DEBUGMSG because console.log() doesn't allow omitting
...
...
tabs/ports.js
View file @
3fc65476
...
...
@@ -99,6 +99,12 @@ TABS.ports.initialize = function (callback) {
maxPorts
:
1
}
);
functionRules
.
push
({
name
:
'
IMU2
'
,
groups
:
[
'
peripherals
'
],
maxPorts
:
1
}
);
for
(
var
i
=
0
;
i
<
functionRules
.
length
;
i
++
)
{
functionRules
[
i
].
displayName
=
chrome
.
i18n
.
getMessage
(
'
portsFunction_
'
+
functionRules
[
i
].
name
);
}
...
...
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