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
e58b34c7
Commit
e58b34c7
authored
Feb 15, 2012
by
Bryant Mairs
Browse files
Removed redundant boolean comparison.
parent
e0635aea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/uas/UASWaypointManager.cc
View file @
e58b34c7
...
...
@@ -132,7 +132,7 @@ void UASWaypointManager::handleGlobalPositionChanged(UASInterface* mav, double l
void
UASWaypointManager
::
handleWaypointCount
(
quint8
systemId
,
quint8
compId
,
quint16
count
)
{
if
(
current_state
==
WP_GETLIST
&&
systemId
==
current_partner_systemid
&&
(
(
compId
==
current_partner_compid
||
compId
==
MAV_COMP_ID_ALL
)
||
compId
==
MAV_COMP_ID_ALL
))
{
if
(
current_state
==
WP_GETLIST
&&
systemId
==
current_partner_systemid
&&
(
compId
==
current_partner_compid
||
compId
==
MAV_COMP_ID_ALL
))
{
protocol_timer
.
start
(
PROTOCOL_TIMEOUT_MS
);
current_retries
=
PROTOCOL_MAX_RETRIES
;
...
...
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