From 677876a2c03319c868c1971f35042ee17825e5b2 Mon Sep 17 00:00:00 2001 From: lumapu Date: Wed, 2 Oct 2024 22:56:23 +0200 Subject: [PATCH] 0.8.150 fix communication --- src/hm/Communication.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/hm/Communication.h b/src/hm/Communication.h index 4043f610..31f2214a 100644 --- a/src/hm/Communication.h +++ b/src/hm/Communication.h @@ -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;