From 74076f6bd9a252ec306e27184596be05815c0dc4 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 27 Nov 2019 16:52:59 +0900 Subject: [PATCH] AP_Proximity: integrate oadb::queue_push argument swap --- libraries/AP_Proximity/AP_Proximity_Backend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Proximity/AP_Proximity_Backend.cpp b/libraries/AP_Proximity/AP_Proximity_Backend.cpp index 00ae1729df..49c7fdec4f 100644 --- a/libraries/AP_Proximity/AP_Proximity_Backend.cpp +++ b/libraries/AP_Proximity/AP_Proximity_Backend.cpp @@ -370,5 +370,5 @@ void AP_Proximity_Backend::database_push(float angle, float distance, uint32_t t Location temp_loc = current_loc; temp_loc.offset_bearing(wrap_180(current_heading + angle), distance); - oaDb->queue_push(temp_loc, timestamp_ms, distance, angle); + oaDb->queue_push(temp_loc, timestamp_ms, angle, distance); }