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() {