Browse Source

0.5.107

* fix: show save message
* fix: removed serial newline for `enqueueCmd`
pull/809/head
lumapu 2 years ago
parent
commit
081adeb140
  1. 4
      src/CHANGES.md
  2. 2
      src/defines.h
  3. 2
      src/hm/hmInverter.h
  4. 2
      src/web/web.h

4
src/CHANGES.md

@ -2,6 +2,10 @@
(starting from release version `0.5.66`) (starting from release version `0.5.66`)
## 0.5.107
* fix: show save message
* fix: removed serial newline for `enqueueCmd`
## 0.5.106 ## 0.5.106
* merged MI and debug message changes #804 * merged MI and debug message changes #804
* fixed MQTT autodiscover #794, #632 * fixed MQTT autodiscover #794, #632

2
src/defines.h

@ -13,7 +13,7 @@
//------------------------------------- //-------------------------------------
#define VERSION_MAJOR 0 #define VERSION_MAJOR 0
#define VERSION_MINOR 5 #define VERSION_MINOR 5
#define VERSION_PATCH 106 #define VERSION_PATCH 107
//------------------------------------- //-------------------------------------
typedef struct { typedef struct {

2
src/hm/hmInverter.h

@ -144,7 +144,7 @@ class Inverter {
void enqueCommand(uint8_t cmd) { void enqueCommand(uint8_t cmd) {
_commandQueue.push(std::make_shared<T>(cmd)); _commandQueue.push(std::make_shared<T>(cmd));
DPRINT_IVID(DBG_INFO, id); DPRINT_IVID(DBG_INFO, id);
DBGPRINTLN(F("enqueCommand: 0x")); DBGPRINT(F("enqueCommand: 0x"));
DBGHEXLN(cmd); DBGHEXLN(cmd);
} }

2
src/web/web.h

@ -593,7 +593,7 @@ class Web {
mApp->saveSettings((request->arg("reboot") == "on")); 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"); response->addHeader(F("Content-Encoding"), "gzip");
request->send(response); request->send(response);
} }

Loading…
Cancel
Save