исправление ошики с округлением логирования

This commit is contained in:
Dmitry Borisenko
2022-09-19 01:41:15 +02:00
parent 3eb2d40596
commit f7e459cab4
9 changed files with 21 additions and 5 deletions

View File

@@ -48,6 +48,14 @@ const String getUniqueId(const char* name) {
return String(name) + getMacAddress();
}
const String getWebVersion() {
String text = readFile("/index.html", 2000);
text = selectFromMarkerToMarker(text, "title", 1);
text = selectFromMarkerToMarker(text, " ", 2);
text.replace("</", "");
return text;
}
uint32_t ESP_getChipId(void) {
#ifdef ESP32
uint32_t id = 0;