AP_Common: fixed comment

This commit is contained in:
Andrew Tridgell 2021-07-09 12:52:51 +10:00
parent 5319e3910f
commit a924f66f70

View File

@ -415,7 +415,7 @@ TEST(Location, Line)
*/
TEST(Location, OffsetError)
{
// test at 30km from origin
// test at 10km from origin
const float ofs_ne = 10e3 / sqrtf(2.0);
for (float lat = -80; lat <= 80; lat += 10.0) {
Location origin{int32_t(lat*1e7), 0, 0, Location::AltFrame::ABOVE_HOME};