Skip to content

Commit

Permalink
0.8.150
Browse files Browse the repository at this point in the history
fix communication
  • Loading branch information
lumapu committed Oct 2, 2024
1 parent 9efb3a9 commit 677876a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/hm/Communication.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 677876a

Please sign in to comment.