From 1cf85c300a0527a87a25b8301f5daecdacc3dcf0 Mon Sep 17 00:00:00 2001 From: kaijunge <kaijunge21@gmail.com> Date: Mon, 6 Dec 2021 13:06:57 +0100 Subject: [PATCH] Fixed spelling name in arduino function --- pyComms/pyComms.ino | 2 +- pyComms/pyCommsLib.cpp | 2 +- pyComms/pyCommsLib.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyComms/pyComms.ino b/pyComms/pyComms.ino index ed07102..b26e2ad 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 2600bf4..f7cd0bf 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 ae3ea36..3a94955 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 -- GitLab