Browse Source

Janitorial: Trailing whitespace tweaks

pull/82/head
wtl0 3 years ago
parent
commit
0b9ab0100a
  1. 1
      tools/esp8266/README.md
  2. 4
      tools/esp8266/app.cpp
  3. 2
      tools/esp8266/app.h
  4. 2
      tools/esp8266/favicon.h

1
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

4
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("</pre>");
#endif
}
}
}
mWeb->send(200, F("text/html"), modHtml);
}

2
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);

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

Loading…
Cancel
Save