Commit 0679186c authored by Don Gagne's avatar Don Gagne

parent e1a290be
...@@ -3032,7 +3032,7 @@ void Vehicle::guidedModeOrbit(const QGeoCoordinate& centerCoord, double radius, ...@@ -3032,7 +3032,7 @@ void Vehicle::guidedModeOrbit(const QGeoCoordinate& centerCoord, double radius,
return; return;
} }
if (capabilityBits() && MAV_PROTOCOL_CAPABILITY_COMMAND_INT) { if (capabilityBits() & MAV_PROTOCOL_CAPABILITY_COMMAND_INT) {
sendMavCommandInt(defaultComponentId(), sendMavCommandInt(defaultComponentId(),
MAV_CMD_DO_ORBIT, MAV_CMD_DO_ORBIT,
MAV_FRAME_GLOBAL, MAV_FRAME_GLOBAL,
......
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