Update mavlink_main.cpp

spelling mistakes
This commit is contained in:
Stefan 2016-01-10 12:04:03 +01:00 committed by Lorenz Meier
parent 3dc4411592
commit 47786c8585
1 changed files with 2 additions and 2 deletions

View File

@ -844,7 +844,7 @@ Mavlink::get_free_tx_buf()
*/
int buf_free = 0;
// if we are using network sockets, return max lenght of one packet
// if we are using network sockets, return max length of one packet
if (get_protocol() == UDP || get_protocol() == TCP ) {
return 1500;
} else {
@ -1046,7 +1046,7 @@ Mavlink::init_udp()
return;
}
/* set default target address, but not for onboard mode (will be set on first recieved packet) */
/* set default target address, but not for onboard mode (will be set on first received packet) */
memset((char *)&_src_addr, 0, sizeof(_src_addr));
if (_mode != MAVLINK_MODE_ONBOARD) {
set_client_source_initialized();