AP_Declination: Updated comment.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
This commit is contained in:
Adam M Rivera 2012-03-10 21:13:46 -06:00 committed by Andrew Tridgell
parent d3667faef4
commit b9be6ed290
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ AP_Declination::get_declination(float lat, float lon)
uint8_t latmin_index,lonmin_index;
float decmin, decmax;
// Validate input values
// Constrain to valid inputs
lat = constrain(lat, -90, 90);
lon = constrain(lon, -180, 180);