diff --git a/ampel-firmware/web_server.cpp b/ampel-firmware/web_server.cpp index dd875774f0223d2cef10c44375e8d0ff323f7d86..78507c01f1b31decbc82c8db6670bd4fced3e857 100644 --- a/ampel-firmware/web_server.cpp +++ b/ampel-firmware/web_server.cpp @@ -198,9 +198,9 @@ namespace web_server { ss -= mm * 60; //NOTE: Splitting in multiple parts in order to use less RAM. Higher than 2000 apparently crashes the ESP8266 - char content[2000]; - // Current size (with Lorawan): - // INFO - Header size : 1685 - Body1 size : 843 - Body2 size : 1395 - Script size : 1918 + char content[1700]; + // Current size (with Lorawan, timesteps and long thing name): + // INFO - Header size : 1269 - Body1 size : 1215 - Body2 size : 1598 - Script size : 1485 snprintf_P(content, sizeof(content), header_template, sensor::co2, config::ampel_name(), wifi::local_ip);