print cosmetic

This commit is contained in:
2018-11-03 23:13:09 +01:00
parent 1f60eb5d12
commit 80c006e081
2 changed files with 4 additions and 2 deletions

View File

@@ -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<void *>(uintBuf);
received = static_cast<struct TransStruct *>(voidBuf);

View File

@@ -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) {