Commit 023aeeee authored by DonLakeFlyer's avatar DonLakeFlyer

Fix ADSB vehicle setup

parent ef9abaa0
......@@ -16,6 +16,7 @@ Note: This file only contains high level features or important fixes.
## 4.0.7 - Not yet released
* Fix video page sizing
* Fix display of multiple ADSB vehicles
### 4.0.6 - Stable
......
......@@ -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