diff --git a/breadcrumbs/src/comms/DataSyncThread.cpp b/breadcrumbs/src/comms/DataSyncThread.cpp index 851fb94..7f64788 100644 --- a/breadcrumbs/src/comms/DataSyncThread.cpp +++ b/breadcrumbs/src/comms/DataSyncThread.cpp @@ -1,6 +1,6 @@ #include "DataSyncThread.hpp" - +#include void DataSyncThread::threadRuntime() { @@ -14,7 +14,7 @@ void DataSyncThread::threadRuntime() while (continueThread && iResult > 0) { - + write_log("Waiting to receive bytes\n", 1, logger->filename, logger); printf("Waiting to receive bytes\n"); // Master while loop that will receive incoming messages @@ -94,6 +94,9 @@ void DataSyncThread::startComms() /* Initializes the communication thread */ + write_log("Start comms: ", 1, logger->filename, logger); + //write_log(std::to_string(incomingAttributes), 1, logger->filename, logger); + printf("Start comms: %d\n", incomingAttributes); continueThread = true; hThread = CreateThread(