mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 18:48:30 -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)
|
||||
{
|
||||
struct Location loc = {0};
|
||||
struct Location loc = {};
|
||||
loc.lat = pt.x * 1.0e7f;
|
||||
loc.lng = pt.y * 1.0e7f;
|
||||
return loc;
|
||||
|
Loading…
Reference in New Issue
Block a user