Skip to content

Commit 677876a

Browse files
committed
0.8.150
fix communication
1 parent 9efb3a9 commit 677876a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/hm/Communication.h

+4-5
Original file line numberDiff line numberDiff line change
@@ -647,13 +647,12 @@ class Communication : public CommQueue<> {
647647
if(q->isDevControl)
648648
keep = !crcPass;
649649

650+
q->iv->mGotFragment = false;
651+
q->iv->mGotLastMsg = false;
652+
q->iv->miMultiParts = 0;
653+
650654
if(keep)
651655
cmdReset(q); // q will be zero'ed after that command
652-
else {
653-
q->iv->mGotFragment = false;
654-
q->iv->mGotLastMsg = false;
655-
q->iv->miMultiParts = 0;
656-
}
657656

658657
mIsRetransmit = false;
659658
mCompleteRetry = false;

0 commit comments

Comments
 (0)