AP_Common: Fix some typos

Fixed some typos found in the code.
This commit is contained in:
Mykhailo Kuznietsov 2023-10-11 18:41:51 +11:00 committed by Peter Barker
parent 5e9b88cf9f
commit 4e7d5e9ecf
4 changed files with 4 additions and 4 deletions

View File

@ -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)
{

View File

@ -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

View File

@ -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)

View File

@ -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