From 995c97f824fae2a5a7da07eccd4ae1329eca0a4e Mon Sep 17 00:00:00 2001 From: lumapu Date: Tue, 1 Oct 2024 22:44:29 +0200 Subject: [PATCH] 0.8.149 * fixed send power limit #1757 --- src/CHANGES.md | 3 +++ src/defines.h | 2 +- src/hm/Communication.h | 10 ++++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/CHANGES.md b/src/CHANGES.md index c035bcba..e7ebf545 100644 --- a/src/CHANGES.md +++ b/src/CHANGES.md @@ -1,5 +1,8 @@ # Development Changes +## 0.8.149 - 2024-10-01 +* fixed send power limit #1757 + ## 0.8.148 - 2024-09-30 * fixed send power limit #1757 * fix redirect after login diff --git a/src/defines.h b/src/defines.h index a8f1a345..186e4d91 100644 --- a/src/defines.h +++ b/src/defines.h @@ -13,7 +13,7 @@ //------------------------------------- #define VERSION_MAJOR 0 #define VERSION_MINOR 8 -#define VERSION_PATCH 148 +#define VERSION_PATCH 149 //------------------------------------- typedef struct { uint8_t ch; diff --git a/src/hm/Communication.h b/src/hm/Communication.h index 1abaa9fd..1b2a6a7a 100644 --- a/src/hm/Communication.h +++ b/src/hm/Communication.h @@ -648,11 +648,13 @@ class Communication : public CommQueue<> { keep = !crcPass; if(keep) - cmdReset(q); + cmdReset(q); // q will be zero'ed after that command + else { + q->iv->mGotFragment = false; + q->iv->mGotLastMsg = false; + q->iv->miMultiParts = 0; + } - q->iv->mGotFragment = false; - q->iv->mGotLastMsg = false; - q->iv->miMultiParts = 0; mIsRetransmit = false; mCompleteRetry = false; mState = States::IDLE;