mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Math: move check_latlng to Location
This commit is contained in:
parent
29b2d7996b
commit
e787922ab0
@ -114,7 +114,4 @@ bool check_latlng(int32_t lat, int32_t lng)
|
|||||||
{
|
{
|
||||||
return check_lat(lat) && check_lng(lng);
|
return check_lat(lat) && check_lng(lng);
|
||||||
}
|
}
|
||||||
bool check_latlng(Location loc)
|
|
||||||
{
|
|
||||||
return check_lat(loc.lat) && check_lng(loc.lng);
|
|
||||||
}
|
|
||||||
|
@ -66,5 +66,3 @@ bool check_lat(int32_t lat);
|
|||||||
bool check_lng(int32_t lng);
|
bool check_lng(int32_t lng);
|
||||||
bool check_latlng(float lat, float lng);
|
bool check_latlng(float lat, float lng);
|
||||||
bool check_latlng(int32_t lat, int32_t lng);
|
bool check_latlng(int32_t lat, int32_t lng);
|
||||||
bool check_latlng(Location loc);
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user