mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AP_Math: move check_latlng to Location
This commit is contained in:
committed by
Tom Pittenger
parent
29b2d7996b
commit
e787922ab0
@@ -114,7 +114,4 @@ bool check_latlng(int32_t lat, int32_t lng)
|
||||
{
|
||||
return check_lat(lat) && check_lng(lng);
|
||||
}
|
||||
bool check_latlng(Location loc)
|
||||
{
|
||||
return check_lat(loc.lat) && check_lng(loc.lng);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user