From 0d3bfe371082818c56c1c3f9d0a83a6661b799d6 Mon Sep 17 00:00:00 2001 From: rejoe2 Date: Thu, 28 Dec 2023 20:59:52 +0100 Subject: [PATCH] fix some double counts --- src/hm/Communication.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/hm/Communication.h b/src/hm/Communication.h index bc6f9f38..eff60869 100644 --- a/src/hm/Communication.h +++ b/src/hm/Communication.h @@ -464,9 +464,6 @@ class Communication : public CommQueue<> { if(GridOnProFilePara == q->cmd) { q->iv->addGridProfile(mPayload, len); - q->iv->radioStatistics.rxSuccess++; - mHeu.evalTxChQuality(q->iv, true, (7 - q->attempts), q->iv->curFrmCnt); - //cmdDone(false); return; } @@ -474,10 +471,6 @@ class Communication : public CommQueue<> { if(NULL == rec) { if(GetLossRate == q->cmd) { q->iv->parseGetLossRate(mPayload, len); - //closeRequest(q, true); //@lumapu: Activating would crash most esp's! - mHeu.evalTxChQuality(q->iv, true, (9 - q->attempts), q->iv->curFrmCnt); - q->iv->radioStatistics.rxSuccess++; - //cmdDone(false); return; } else { DPRINTLN(DBG_ERROR, F("record is NULL!"));