AP_Math: move check_latlng to Location

This commit is contained in:
Pierre Kancir 2019-04-08 15:51:24 +02:00 committed by Tom Pittenger
parent 29b2d7996b
commit e787922ab0
2 changed files with 1 additions and 6 deletions

View File

@ -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);
}

View File

@ -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);