AP_Common: Fix some typos
Fixed some typos found in the code.
This commit is contained in:
parent
5e9b88cf9f
commit
4e7d5e9ecf
@ -485,7 +485,7 @@ int32_t Location::diff_longitude(int32_t lon1, int32_t lon2)
|
||||
}
|
||||
|
||||
/*
|
||||
limit lattitude to -90e7 to 90e7
|
||||
limit latitude to -90e7 to 90e7
|
||||
*/
|
||||
int32_t Location::limit_lattitude(int32_t lat)
|
||||
{
|
||||
|
@ -151,7 +151,7 @@ public:
|
||||
// wrap longitude at -180e7 to 180e7
|
||||
static int32_t wrap_longitude(int64_t lon);
|
||||
|
||||
// limit lattitude to -90e7 to 90e7
|
||||
// limit latitude to -90e7 to 90e7
|
||||
static int32_t limit_lattitude(int32_t lat);
|
||||
|
||||
// get lon1-lon2, wrapping at -180e7 to 180e7
|
||||
|
@ -371,7 +371,7 @@ TEST(Location, Line)
|
||||
}
|
||||
|
||||
/*
|
||||
check if we obey basic euclidian geometry rules of position
|
||||
check if we obey basic euclidean geometry rules of position
|
||||
addition/subtraction
|
||||
*/
|
||||
TEST(Location, OffsetError)
|
||||
|
@ -30,7 +30,7 @@ static DummyUart test_uart;
|
||||
|
||||
TEST(NMEA, Printf)
|
||||
{
|
||||
// test not enought space
|
||||
// test not enough space
|
||||
test_uart.set_txspace(2);
|
||||
EXPECT_FALSE(nmea_printf(&test_uart, "TEST"));
|
||||
// normal test
|
||||
|
Loading…
Reference in New Issue
Block a user