diff --git a/libraries/SITL/SIM_JSON.cpp b/libraries/SITL/SIM_JSON.cpp
index be64d053ed..0d37e7529a 100644
--- a/libraries/SITL/SIM_JSON.cpp
+++ b/libraries/SITL/SIM_JSON.cpp
@@ -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;
}
diff --git a/libraries/SITL/SIM_JSON_Master.cpp b/libraries/SITL/SIM_JSON_Master.cpp
index 903c1ea6dc..3eb6f622a3 100644
--- a/libraries/SITL/SIM_JSON_Master.cpp
+++ b/libraries/SITL/SIM_JSON_Master.cpp
@@ -13,7 +13,7 @@
along with this program. If not, see .
*/
/*
- 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"
diff --git a/libraries/SITL/SIM_JSON_Master.h b/libraries/SITL/SIM_JSON_Master.h
index 36c4d827b2..9a568f6ed1 100644
--- a/libraries/SITL/SIM_JSON_Master.h
+++ b/libraries/SITL/SIM_JSON_Master.h
@@ -13,7 +13,7 @@
along with this program. If not, see .
*/
/*
- 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
diff --git a/libraries/SITL/examples/JSON/MATLAB/tcp_udp_ip_2.0.6/pnet.c b/libraries/SITL/examples/JSON/MATLAB/tcp_udp_ip_2.0.6/pnet.c
index 7c681ed7ea..ffafd33edb 100644
--- a/libraries/SITL/examples/JSON/MATLAB/tcp_udp_ip_2.0.6/pnet.c
+++ b/libraries/SITL/examples/JSON/MATLAB/tcp_udp_ip_2.0.6/pnet.c
@@ -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);