diff --git a/pyComms/pyComms.ino b/pyComms/pyComms.ino index ed071029d2af0daa161c4f376b1c10b0f852c9ad..b26e2ad302e81e12d55c34583ca76b48f3c27081 100644 --- a/pyComms/pyComms.ino +++ b/pyComms/pyComms.ino @@ -28,7 +28,7 @@ void setup() { Serial.begin(115200); // Connect with the python script. This will perform a handshake - init_python_communiction(); + init_python_communication(); } void loop() { diff --git a/pyComms/pyCommsLib.cpp b/pyComms/pyCommsLib.cpp index 2600bf4130e24c540d40f1563bfebf83c13d4bd7..f7cd0bf8c758ed73f67e0f486ec18469f1504304 100644 --- a/pyComms/pyCommsLib.cpp +++ b/pyComms/pyCommsLib.cpp @@ -36,7 +36,7 @@ String recieve_msg(String prevMsg) { } -void init_python_communiction() { +void init_python_communication() { while(true){ // if the python side sent a message diff --git a/pyComms/pyCommsLib.h b/pyComms/pyCommsLib.h index ae3ea36a6f23c3d432eafe1180d77e333de80716..3a94955ba6b035806e77d9c45be08f714e210153 100644 --- a/pyComms/pyCommsLib.h +++ b/pyComms/pyCommsLib.h @@ -7,6 +7,6 @@ void send_msg(String* msgName, String* msg, int numOfMsg); String recieve_msg(String prevMsg); -void init_python_communiction(); +void init_python_communication(); #endif