Commit 5bc0f432 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5138 from bluerobotics/set-flying-bug

Set flying flag regardless of armed status
parents f9b8eae1 a390d5cf
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment