Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
c5b77b18
Commit
c5b77b18
authored
Oct 26, 2018
by
Gus Grubba
Browse files
Fix annoying Android warnings.
parent
bbf7f098
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/comm/MAVLinkProtocol.cc
View file @
c5b77b18
...
...
@@ -68,6 +68,8 @@ MAVLinkProtocol::MAVLinkProtocol(QGCApplication* app, QGCToolbox* toolbox)
memset
(
totalLossCounter
,
0
,
sizeof
(
totalLossCounter
));
memset
(
runningLossPercent
,
0
,
sizeof
(
runningLossPercent
));
memset
(
firstMessage
,
1
,
sizeof
(
firstMessage
));
memset
(
&
_status
,
0
,
sizeof
(
_status
));
memset
(
&
_message
,
0
,
sizeof
(
_message
));
}
MAVLinkProtocol
::~
MAVLinkProtocol
()
...
...
src/comm/MAVLinkProtocol.h
View file @
c5b77b18
...
...
@@ -108,8 +108,8 @@ protected:
uint64_t
totalLossCounter
[
MAVLINK_COMM_NUM_BUFFERS
];
///< Total messages lost during transmission.
float
runningLossPercent
[
MAVLINK_COMM_NUM_BUFFERS
];
///< Loss rate
mavlink_message_t
_message
=
{}
;
mavlink_status_t
_status
=
{}
;
mavlink_message_t
_message
;
mavlink_status_t
_status
;
bool
versionMismatchIgnore
;
int
systemId
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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