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
5bc0f432
Commit
5bc0f432
authored
May 13, 2017
by
Don Gagne
Committed by
GitHub
May 13, 2017
Browse files
Merge pull request #5138 from bluerobotics/set-flying-bug
Set flying flag regardless of armed status
parents
f9b8eae1
a390d5cf
Changes
1
Show whitespace changes
Inline
Side-by-side
src/Vehicle/Vehicle.cc
View file @
5bc0f432
...
...
@@ -2014,7 +2014,7 @@ void Vehicle::_announceArmedChanged(bool armed)
void
Vehicle
::
_setFlying
(
bool
flying
)
{
if
(
armed
()
&&
_flying
!=
flying
)
{
if
(
_flying
!=
flying
)
{
_flying
=
flying
;
emit
flyingChanged
(
flying
);
}
...
...
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