uncrustify libraries/AP_Math/location.cpp

This commit is contained in:
uncrustify 2012-08-16 23:20:14 -07:00 committed by Pat Hickey
parent f11f64108a
commit 86e4925fa5

View File

@ -18,7 +18,7 @@
*/
/*
this module deals with calculations involving struct Location
* this module deals with calculations involving struct Location
*/
#include <FastSerial.h>
@ -114,10 +114,10 @@ bool location_passed_point(struct Location &location,
}
/*
extrapolate latitude/longitude given bearing and distance
thanks to http://www.movable-type.co.uk/scripts/latlong.html
This function is precise, but costs about 1.7 milliseconds on an AVR2560
* extrapolate latitude/longitude given bearing and distance
* thanks to http://www.movable-type.co.uk/scripts/latlong.html
*
* This function is precise, but costs about 1.7 milliseconds on an AVR2560
*/
void location_update(struct Location *loc, float bearing, float distance)
{
@ -135,8 +135,8 @@ void location_update(struct Location *loc, float bearing, float distance)
}
/*
extrapolate latitude/longitude given distances north and east
This function costs about 80 usec on an AVR2560
* extrapolate latitude/longitude given distances north and east
* This function costs about 80 usec on an AVR2560
*/
void location_offset(struct Location *loc, float ofs_north, float ofs_east)
{