mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Proximity: integrate oadb::queue_push argument swap
This commit is contained in:
parent
f6bc33ea2f
commit
b8458d9cb4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user