mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-04 23:18:29 -04:00
AP_Math: correct examples build on px4
This commit is contained in:
parent
be26988b93
commit
cb16d0b6c6
@ -37,7 +37,7 @@ static const struct {
|
|||||||
|
|
||||||
static struct Location location_from_point(Vector2f pt)
|
static struct Location location_from_point(Vector2f pt)
|
||||||
{
|
{
|
||||||
struct Location loc = {0};
|
struct Location loc = {};
|
||||||
loc.lat = pt.x * 1.0e7f;
|
loc.lat = pt.x * 1.0e7f;
|
||||||
loc.lng = pt.y * 1.0e7f;
|
loc.lng = pt.y * 1.0e7f;
|
||||||
return loc;
|
return loc;
|
||||||
|
Loading…
Reference in New Issue
Block a user