print cosmetic
This commit is contained in:
@@ -318,7 +318,9 @@ void HardwareSetup::run() {
|
|||||||
while (!this->stop) {
|
while (!this->stop) {
|
||||||
|
|
||||||
// read data
|
// read data
|
||||||
|
cout << "try to read data" << endl;
|
||||||
read(this->fd, uintBuf, 4 * 6);
|
read(this->fd, uintBuf, 4 * 6);
|
||||||
|
cout << "data read" << endl;
|
||||||
voidBuf = static_cast<void *>(uintBuf);
|
voidBuf = static_cast<void *>(uintBuf);
|
||||||
received = static_cast<struct TransStruct *>(voidBuf);
|
received = static_cast<struct TransStruct *>(voidBuf);
|
||||||
|
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ void Training::shellSlot(int time, int sector) {
|
|||||||
// time is given in ms
|
// time is given in ms
|
||||||
// counting of sector beginns at 1
|
// counting of sector beginns at 1
|
||||||
|
|
||||||
cout << "received Shelltime: " << time << sector << endl;
|
cout << "received Shelltime: " << time << " " << sector << endl;
|
||||||
|
|
||||||
if (started && !paused && !this->finished) {
|
if (started && !paused && !this->finished) {
|
||||||
if (firstTimeShell) {
|
if (firstTimeShell) {
|
||||||
@@ -232,7 +232,7 @@ void Training::deaSlot(int time, int sector) {
|
|||||||
// time is given in ms
|
// time is given in ms
|
||||||
// counting of sector beginns at 1
|
// counting of sector beginns at 1
|
||||||
|
|
||||||
cout << "received Deatime: " << time << sector << endl;
|
cout << "received Deatime: " << time << " " << sector << endl;
|
||||||
|
|
||||||
if (started && !paused && !this->finished) {
|
if (started && !paused && !this->finished) {
|
||||||
if (firstTimeDea) {
|
if (firstTimeDea) {
|
||||||
|
|||||||
Reference in New Issue
Block a user