Browse Source

discord .2902

- disable cmdDone() calls for GridProfile+GetLossRate
- Typo
pull/1293/head
rejoe2 9 months ago
committed by GitHub
parent
commit
6ec9561d7a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/hm/Communication.h

6
src/hm/Communication.h

@ -308,7 +308,7 @@ class Communication : public CommQueue<> {
else else
ah::dumpBuf(p->packet, p->len); ah::dumpBuf(p->packet, p->len);
} else { } else {
DBGPRINT(F("| 0x")); DBGPRINT(F("| "));
DHEX(p->packet[0]); DHEX(p->packet[0]);
DBGPRINT(F(" ")); DBGPRINT(F(" "));
DBGHEXLN(p->packet[9]); DBGHEXLN(p->packet[9]);
@ -466,7 +466,7 @@ class Communication : public CommQueue<> {
q->iv->addGridProfile(mPayload, len); q->iv->addGridProfile(mPayload, len);
q->iv->radioStatistics.rxSuccess++; q->iv->radioStatistics.rxSuccess++;
mHeu.evalTxChQuality(q->iv, true, (7 - q->attempts), q->iv->curFrmCnt); mHeu.evalTxChQuality(q->iv, true, (7 - q->attempts), q->iv->curFrmCnt);
cmdDone(false); //cmdDone(false);
return; return;
} }
@ -477,7 +477,7 @@ class Communication : public CommQueue<> {
//closeRequest(q, true); //@lumapu: Activating would crash most esp's! //closeRequest(q, true); //@lumapu: Activating would crash most esp's!
mHeu.evalTxChQuality(q->iv, true, (9 - q->attempts), q->iv->curFrmCnt); mHeu.evalTxChQuality(q->iv, true, (9 - q->attempts), q->iv->curFrmCnt);
q->iv->radioStatistics.rxSuccess++; q->iv->radioStatistics.rxSuccess++;
cmdDone(false); //cmdDone(false);
return; return;
} else { } else {
DPRINTLN(DBG_ERROR, F("record is NULL!")); DPRINTLN(DBG_ERROR, F("record is NULL!"));

Loading…
Cancel
Save