mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-21 10:17:13 +02:00
fix some double counts
This commit is contained in:
parent
8a489ca14c
commit
0d3bfe3710
1 changed files with 0 additions and 7 deletions
|
@ -464,9 +464,6 @@ class Communication : public CommQueue<> {
|
||||||
|
|
||||||
if(GridOnProFilePara == q->cmd) {
|
if(GridOnProFilePara == q->cmd) {
|
||||||
q->iv->addGridProfile(mPayload, len);
|
q->iv->addGridProfile(mPayload, len);
|
||||||
q->iv->radioStatistics.rxSuccess++;
|
|
||||||
mHeu.evalTxChQuality(q->iv, true, (7 - q->attempts), q->iv->curFrmCnt);
|
|
||||||
//cmdDone(false);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -474,10 +471,6 @@ class Communication : public CommQueue<> {
|
||||||
if(NULL == rec) {
|
if(NULL == rec) {
|
||||||
if(GetLossRate == q->cmd) {
|
if(GetLossRate == q->cmd) {
|
||||||
q->iv->parseGetLossRate(mPayload, len);
|
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;
|
return;
|
||||||
} else {
|
} else {
|
||||||
DPRINTLN(DBG_ERROR, F("record is NULL!"));
|
DPRINTLN(DBG_ERROR, F("record is NULL!"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue