From 9f0382965f71fb041a444ae5769876e91345712b Mon Sep 17 00:00:00 2001 From: "PANIK\\chris" Date: Fri, 9 Jan 2026 17:57:39 +0100 Subject: [PATCH] Added debug timer. --- bc.h | 2 ++ bctransmitter.cpp | 7 +------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/bc.h b/bc.h index 19c2beb..42a03f4 100644 --- a/bc.h +++ b/bc.h @@ -36,9 +36,11 @@ #include #include #include // Nötig für Q_GADGET/Q_ENUM Makros +#include //uint8_t; +#define BCTimeStamp QTime::currentTime().toString("hh:mm:ss.zzz: ") using namespace Qt::Literals::StringLiterals; // Für _L1 diff --git a/bctransmitter.cpp b/bctransmitter.cpp index 41207ad..033ea86 100644 --- a/bctransmitter.cpp +++ b/bctransmitter.cpp @@ -166,16 +166,11 @@ void BCTransmitter::onUpdateValue( BCValuePtrConst valuePtr) { newState = BCValue::Flag::InSync; newValue = result.value(); - qDebug() << " ---- Wert empfangen: " << newValue; + qDebug() << " ---- " << BCTimeStamp << " DevID: " << devID << " RegID: " << regID << " Value: " << newValue; } } emit valueUpdated( value.deviceID, value.indexRow, newState, newValue ); - - // __fix - //bc::processEventsFor(150); - //bc::delay_millis(150); - } /**