Skip to content

Commit

Permalink
Added write log commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ncc14003 committed Feb 5, 2020
1 parent e0a0ecd commit 6f2cd46
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions breadcrumbs/src/comms/DataSyncThread.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#include "DataSyncThread.hpp"

#include <Logger.h>

void DataSyncThread::threadRuntime()
{
Expand All @@ -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
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 6f2cd46

Please sign in to comment.