fix communication
This commit is contained in:
lumapu 2024-10-02 22:56:23 +02:00
parent 9efb3a9941
commit 677876a2c0

View file

@ -647,13 +647,12 @@ class Communication : public CommQueue<> {
if(q->isDevControl)
keep = !crcPass;
q->iv->mGotFragment = false;
q->iv->mGotLastMsg = false;
q->iv->miMultiParts = 0;
if(keep)
cmdReset(q); // q will be zero'ed after that command
else {
q->iv->mGotFragment = false;
q->iv->mGotLastMsg = false;
q->iv->miMultiParts = 0;
}
mIsRetransmit = false;
mCompleteRetry = false;