Unverified Commit 475fbf32 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8795 from DonLakeFlyer/BoatCherryPick

Fix boat classification as a Rover
parents 3a406dea a3e3bc9d
......@@ -16,7 +16,13 @@ bool QGCMAVLink::isFixedWing(MAV_TYPE mavType)
bool QGCMAVLink::isRover(MAV_TYPE mavType)
{
return mavType == MAV_TYPE_GROUND_ROVER;
switch (mavType) {
case MAV_TYPE_GROUND_ROVER:
case MAV_TYPE_SURFACE_BOAT:
return true;
default:
return false;
}
}
bool QGCMAVLink::isSub(MAV_TYPE mavType)
......
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