Commit 1deab759 authored by Don Gagne's avatar Don Gagne

Decode version type

parent cfbd7ae2
......@@ -470,7 +470,7 @@ void Vehicle::_handleAutopilotVersion(mavlink_message_t& message)
minorVersion = (autopilotVersion.flight_sw_version >> (8*2)) & 0xFF;
patchVersion = (autopilotVersion.flight_sw_version >> (8*1)) & 0xFF;
versionType = (FIRMWARE_VERSION_TYPE)((autopilotVersion.flight_sw_version >> (8*0)) & 0xFF);
setFirmwareVersion(majorVersion, minorVersion, patchVersion);
setFirmwareVersion(majorVersion, minorVersion, patchVersion, versionType);
}
}
......
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