Browse Source

fix some double counts

pull/1293/head
rejoe2 1 year ago
committed by GitHub
parent
commit
0d3bfe3710
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/hm/Communication.h

7
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!"));

Loading…
Cancel
Save