Commit ac8ed954 authored by Eric Duminil's avatar Eric Duminil
Browse files

300 bytes saved

parent 168ea9b6
Pipeline #5861 passed with stage
in 2 minutes and 22 seconds
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment