mirror of https://github.com/ArduPilot/ardupilot
AP_Proximity: integrate oadb::queue_push argument swap
This commit is contained in:
parent
b3bbcc6498
commit
74076f6bd9
|
@ -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