diff --git a/tools/esp8266/README.md b/tools/esp8266/README.md index f4f9e1c5..57066fc0 100644 --- a/tools/esp8266/README.md +++ b/tools/esp8266/README.md @@ -65,4 +65,3 @@ For now the following inverters should work out of the box: - `Time` 1.6.1 - `RF24` 1.4.2 - `PubSubClient` 2.8 - diff --git a/tools/esp8266/app.cpp b/tools/esp8266/app.cpp index d8dea744..d45baa62 100644 --- a/tools/esp8266/app.cpp +++ b/tools/esp8266/app.cpp @@ -62,7 +62,7 @@ void app::setup(uint32_t timeout) { mWeb->on("/hoymiles", std::bind(&app::showHoymiles, this)); mWeb->on("/livedata", std::bind(&app::showLiveData, this)); mWeb->on("/json", std::bind(&app::showJSON, this)); - + if(mSettingsValid) { mEep->read(ADDR_INV_INTERVAL, &mSendInterval); if(mSendInterval < 5) @@ -753,7 +753,7 @@ void app::showLiveData(void) { modHtml += F(""); #endif } - } + } mWeb->send(200, F("text/html"), modHtml); } diff --git a/tools/esp8266/app.h b/tools/esp8266/app.h index 17d840a9..1970ed7d 100644 --- a/tools/esp8266/app.h +++ b/tools/esp8266/app.h @@ -69,7 +69,7 @@ class app : public Main { void showHoymiles(void); void showLiveData(void); void showJSON(void); - + void saveValues(bool webSend); void updateCrc(void); diff --git a/tools/esp8266/favicon.h b/tools/esp8266/favicon.h index e3c9b00a..f0c501cd 100644 --- a/tools/esp8266/favicon.h +++ b/tools/esp8266/favicon.h @@ -5,7 +5,7 @@ // a) https://www.favicon-generator.org/ -// b) exiftool -all:all= -r +// b) exiftool -all:all= -r // c) hexlify.py: // import sys // f = open (sys.argv[1], 'rb').read()