Unverified Commit c83f788d authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8794 from DonLakeFlyer/ADSBCherryPick

Fix ADSB vehicle setup
parents 80fa65df 3ead9231
......@@ -3997,6 +3997,7 @@ void Vehicle::_handleADSBVehicle(const mavlink_message_t& message)
ADSBVehicle::VehicleInfo_t vehicleInfo;
vehicleInfo.availableFlags = 0;
vehicleInfo.icaoAddress = adsbVehicleMsg.ICAO_address;
vehicleInfo.location.setLatitude(adsbVehicleMsg.lat / 1e7);
vehicleInfo.location.setLongitude(adsbVehicleMsg.lon / 1e7);
......
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