From 081adeb140a4b74220990b16b935d1fc305fc61b Mon Sep 17 00:00:00 2001 From: lumapu Date: Sun, 26 Mar 2023 01:03:59 +0100 Subject: [PATCH] 0.5.107 * fix: show save message * fix: removed serial newline for `enqueueCmd` --- src/CHANGES.md | 4 ++++ src/defines.h | 2 +- src/hm/hmInverter.h | 2 +- src/web/web.h | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/CHANGES.md b/src/CHANGES.md index 70b87e0f..d4ab8b79 100644 --- a/src/CHANGES.md +++ b/src/CHANGES.md @@ -2,6 +2,10 @@ (starting from release version `0.5.66`) +## 0.5.107 +* fix: show save message +* fix: removed serial newline for `enqueueCmd` + ## 0.5.106 * merged MI and debug message changes #804 * fixed MQTT autodiscover #794, #632 diff --git a/src/defines.h b/src/defines.h index d0c57264..05cbd23b 100644 --- a/src/defines.h +++ b/src/defines.h @@ -13,7 +13,7 @@ //------------------------------------- #define VERSION_MAJOR 0 #define VERSION_MINOR 5 -#define VERSION_PATCH 106 +#define VERSION_PATCH 107 //------------------------------------- typedef struct { diff --git a/src/hm/hmInverter.h b/src/hm/hmInverter.h index e8c20423..d3efd9ac 100644 --- a/src/hm/hmInverter.h +++ b/src/hm/hmInverter.h @@ -144,7 +144,7 @@ class Inverter { void enqueCommand(uint8_t cmd) { _commandQueue.push(std::make_shared(cmd)); DPRINT_IVID(DBG_INFO, id); - DBGPRINTLN(F("enqueCommand: 0x")); + DBGPRINT(F("enqueCommand: 0x")); DBGHEXLN(cmd); } diff --git a/src/web/web.h b/src/web/web.h index 46e5ccb7..b83e06b5 100644 --- a/src/web/web.h +++ b/src/web/web.h @@ -593,7 +593,7 @@ class Web { mApp->saveSettings((request->arg("reboot") == "on")); - AsyncWebServerResponse *response = request->beginResponse_P(200, F("text/html; charset=UTF-8"), system_html, save_html_len); + AsyncWebServerResponse *response = request->beginResponse_P(200, F("text/html; charset=UTF-8"), save_html, save_html_len); response->addHeader(F("Content-Encoding"), "gzip"); request->send(response); }