Added debug timer.

This commit is contained in:
2026-01-09 17:57:39 +01:00
parent 653aa49a7b
commit 9f0382965f
2 changed files with 3 additions and 6 deletions

2
bc.h
View File

@@ -36,9 +36,11 @@
#include <cstdint> #include <cstdint>
#include <QDebug> #include <QDebug>
#include <QObject> // Nötig für Q_GADGET/Q_ENUM Makros #include <QObject> // Nötig für Q_GADGET/Q_ENUM Makros
#include <QTime>
//uint8_t; //uint8_t;
#define BCTimeStamp QTime::currentTime().toString("hh:mm:ss.zzz: ")
using namespace Qt::Literals::StringLiterals; // Für _L1 using namespace Qt::Literals::StringLiterals; // Für _L1

View File

@@ -166,16 +166,11 @@ void BCTransmitter::onUpdateValue( BCValuePtrConst valuePtr)
{ {
newState = BCValue::Flag::InSync; newState = BCValue::Flag::InSync;
newValue = result.value(); newValue = result.value();
qDebug() << " ---- Wert empfangen: " << newValue; qDebug() << " ---- " << BCTimeStamp << " DevID: " << devID << " RegID: " << regID << " Value: " << newValue;
} }
} }
emit valueUpdated( value.deviceID, value.indexRow, newState, newValue ); emit valueUpdated( value.deviceID, value.indexRow, newState, newValue );
// __fix
//bc::processEventsFor(150);
//bc::delay_millis(150);
} }
/** /**