mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-28 19:48:31 -04:00
SITL : correct comment spelling
This commit is contained in:
parent
e0d14d900a
commit
dc07747199
@ -255,7 +255,7 @@ void JSON::recv_fdm(const struct sitl_input &input)
|
||||
|
||||
const uint32_t received_bitmask = parse_sensors((const char *)(p1+1));
|
||||
if (received_bitmask == 0) {
|
||||
// did not receve one of the mandatory fields
|
||||
// did not receive one of the mandatory fields
|
||||
printf("Did not contain all mandatory fields\n");
|
||||
return;
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/*
|
||||
Send and receve JSON backend data to alow a second AP instance to ride along
|
||||
Send and receive JSON backend data to alow a second AP instance to ride along
|
||||
*/
|
||||
|
||||
#include "SIM_JSON_Master.h"
|
||||
|
@ -13,7 +13,7 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/*
|
||||
Send and receve JSON backend data to alow a second AP instance to ride along
|
||||
Send and receive JSON backend data to alow a second AP instance to ride along
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@ -725,7 +725,7 @@ void my_mexReturnArrayFromBuff(const int argno,io_buff *buff,const int line)
|
||||
break;
|
||||
if(n==maxelements) // If no new-line found inside limit...
|
||||
deleteelements=returnelements=maxelements; // ...return first part of splited line.
|
||||
else if(n==returnelements) // If new-line not recived inside limit...
|
||||
else if(n==returnelements) // If new-line not received inside limit...
|
||||
deleteelements=returnelements=0; // ...return empty string, and delete nothing.
|
||||
else if(n>0 && buff->ptr[n-1]=='\r') // If(*3) new-line, return line of char but not nl chars.
|
||||
deleteelements=2+(returnelements=n-1);
|
||||
|
Loading…
Reference in New Issue
Block a user