mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-02 19:55:54 +02:00
0.8.150
fix communication
This commit is contained in:
parent
9efb3a9941
commit
677876a2c0
1 changed files with 4 additions and 5 deletions
|
@ -647,13 +647,12 @@ class Communication : public CommQueue<> {
|
||||||
if(q->isDevControl)
|
if(q->isDevControl)
|
||||||
keep = !crcPass;
|
keep = !crcPass;
|
||||||
|
|
||||||
if(keep)
|
|
||||||
cmdReset(q); // q will be zero'ed after that command
|
|
||||||
else {
|
|
||||||
q->iv->mGotFragment = false;
|
q->iv->mGotFragment = false;
|
||||||
q->iv->mGotLastMsg = false;
|
q->iv->mGotLastMsg = false;
|
||||||
q->iv->miMultiParts = 0;
|
q->iv->miMultiParts = 0;
|
||||||
}
|
|
||||||
|
if(keep)
|
||||||
|
cmdReset(q); // q will be zero'ed after that command
|
||||||
|
|
||||||
mIsRetransmit = false;
|
mIsRetransmit = false;
|
||||||
mCompleteRetry = false;
|
mCompleteRetry = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue