From 80c006e081b68fd14b5b18db95f015d8901c94f7 Mon Sep 17 00:00:00 2001 From: Johannes Paehr Date: Sat, 3 Nov 2018 23:13:09 +0100 Subject: [PATCH] print cosmetic --- hardwaresetup.cpp | 2 ++ training.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hardwaresetup.cpp b/hardwaresetup.cpp index 1144c9d..836679d 100644 --- a/hardwaresetup.cpp +++ b/hardwaresetup.cpp @@ -318,7 +318,9 @@ void HardwareSetup::run() { while (!this->stop) { // read data + cout << "try to read data" << endl; read(this->fd, uintBuf, 4 * 6); + cout << "data read" << endl; voidBuf = static_cast(uintBuf); received = static_cast(voidBuf); diff --git a/training.cpp b/training.cpp index 7375611..4509322 100644 --- a/training.cpp +++ b/training.cpp @@ -142,7 +142,7 @@ void Training::shellSlot(int time, int sector) { // time is given in ms // counting of sector beginns at 1 - cout << "received Shelltime: " << time << sector << endl; + cout << "received Shelltime: " << time << " " << sector << endl; if (started && !paused && !this->finished) { if (firstTimeShell) { @@ -232,7 +232,7 @@ void Training::deaSlot(int time, int sector) { // time is given in ms // counting of sector beginns at 1 - cout << "received Deatime: " << time << sector << endl; + cout << "received Deatime: " << time << " " << sector << endl; if (started && !paused && !this->finished) { if (firstTimeDea) {