From 48fd37cd25850b6e8b74b95d8b0ddf4cd25adeb7 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 11 Aug 2022 18:06:38 +1000 Subject: [PATCH] AP_DroneID: add missing element to constructor --- libraries/AP_OpenDroneID/AP_OpenDroneID.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_OpenDroneID/AP_OpenDroneID.cpp b/libraries/AP_OpenDroneID/AP_OpenDroneID.cpp index e682328b60..6d2c9baba6 100644 --- a/libraries/AP_OpenDroneID/AP_OpenDroneID.cpp +++ b/libraries/AP_OpenDroneID/AP_OpenDroneID.cpp @@ -324,6 +324,7 @@ void AP_OpenDroneID::send_location_message() speed_vertical : int16_t(climb_rate * 100.0), // Climb rate (cm/s) target_system : 0, target_component : 0, + id_or_mac : {}, status : uint8_t(uav_status), height_reference : MAV_ODID_HEIGHT_REF_OVER_TAKEOFF, // height reference enum: Above takeoff location or above ground horizontal_accuracy : uint8_t(horizontal_accuracy_mav),