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
e0ac5067
Commit
e0ac5067
authored
Oct 25, 2018
by
Patrick José Pereira
Browse files
MavLinkProtocol: Fix constructor warnings
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
bcabdc26
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/comm/MAVLinkProtocol.cc
View file @
e0ac5067
...
...
@@ -53,6 +53,8 @@ const char* MAVLinkProtocol::_logFileExtension = "mavlink"; ///< Ext
MAVLinkProtocol
::
MAVLinkProtocol
(
QGCApplication
*
app
,
QGCToolbox
*
toolbox
)
:
QGCTool
(
app
,
toolbox
)
,
m_enable_version_check
(
true
)
,
_message
({})
,
_status
({})
,
versionMismatchIgnore
(
false
)
,
systemId
(
255
)
,
_current_version
(
100
)
...
...
src/comm/MAVLinkProtocol.h
View file @
e0ac5067
...
...
@@ -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