From 0be3a23603bef416d779e779cd784bfa761de044 Mon Sep 17 00:00:00 2001 From: lumapu Date: Sun, 9 Jul 2023 11:19:31 +0200 Subject: [PATCH] 0.7.11 * fix MqTT endless loop #1013 --- src/CHANGES.md | 3 +++ src/defines.h | 2 +- src/publisher/pubMqttIvData.h | 5 ++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/CHANGES.md b/src/CHANGES.md index 37195152..6590e708 100644 --- a/src/CHANGES.md +++ b/src/CHANGES.md @@ -1,5 +1,8 @@ # Development Changes +## 0.7.11 - 2023-07-09 +* fix MqTT endless loop #1013 + ## 0.7.10 - 2023-07-08 * fix MqTT endless loop #1013 diff --git a/src/defines.h b/src/defines.h index 19042100..6cb90b55 100644 --- a/src/defines.h +++ b/src/defines.h @@ -13,7 +13,7 @@ //------------------------------------- #define VERSION_MAJOR 0 #define VERSION_MINOR 7 -#define VERSION_PATCH 10 +#define VERSION_PATCH 11 //------------------------------------- typedef struct { diff --git a/src/publisher/pubMqttIvData.h b/src/publisher/pubMqttIvData.h index 475f40ce..1b2827b1 100644 --- a/src/publisher/pubMqttIvData.h +++ b/src/publisher/pubMqttIvData.h @@ -101,8 +101,11 @@ class PubMqttIvData { mState = SEND_DATA; else if(mSendTotals) mState = SEND_TOTALS; - else + else { + mSendList->pop(); + mZeroValues = false; mState = START; + } } void stateSend() {