From baf392f2e98a259633cb4a38821c853d7337aba9 Mon Sep 17 00:00:00 2001 From: lumapu Date: Sat, 8 Jul 2023 23:47:40 +0200 Subject: [PATCH] 0.7.10 * fix MqTT endless loop #1013 --- src/CHANGES.md | 3 +++ src/defines.h | 2 +- src/publisher/pubMqttIvData.h | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/CHANGES.md b/src/CHANGES.md index 97705c3d..37195152 100644 --- a/src/CHANGES.md +++ b/src/CHANGES.md @@ -1,5 +1,8 @@ # Development Changes +## 0.7.10 - 2023-07-08 +* fix MqTT endless loop #1013 + ## 0.7.9 - 2023-07-08 * added 'improve' functions to set wifi password directly with ESP web tools #1014 * fixed MqTT publish while appling power limit #1013 diff --git a/src/defines.h b/src/defines.h index 40e56d23..19042100 100644 --- a/src/defines.h +++ b/src/defines.h @@ -13,7 +13,7 @@ //------------------------------------- #define VERSION_MAJOR 0 #define VERSION_MINOR 7 -#define VERSION_PATCH 9 +#define VERSION_PATCH 10 //------------------------------------- typedef struct { diff --git a/src/publisher/pubMqttIvData.h b/src/publisher/pubMqttIvData.h index 1a697388..475f40ce 100644 --- a/src/publisher/pubMqttIvData.h +++ b/src/publisher/pubMqttIvData.h @@ -101,6 +101,8 @@ class PubMqttIvData { mState = SEND_DATA; else if(mSendTotals) mState = SEND_TOTALS; + else + mState = START; } void stateSend() {