Commit 28687be6 authored by Eric Duminil's avatar Eric Duminil
Browse files

web_server: disabled unused debug info.

parent 38d95d26
...@@ -219,8 +219,8 @@ namespace web_server { ...@@ -219,8 +219,8 @@ namespace web_server {
#endif #endif
); );
Serial.print(F("INFO - Header size : ")); // Serial.print(F("INFO - Header size : "));
Serial.print(strlen(content)); // Serial.print(strlen(content));
http.setContentLength(CONTENT_LENGTH_UNKNOWN); http.setContentLength(CONTENT_LENGTH_UNKNOWN);
http.send_P(200, PSTR("text/html"), content); http.send_P(200, PSTR("text/html"), content);
...@@ -241,9 +241,9 @@ namespace web_server { ...@@ -241,9 +241,9 @@ namespace web_server {
wifi::local_ip, wifi::local_ip, ESP.getFreeHeap(), esp_get_max_free_block_size(), ampel.max_loop_duration, wifi::local_ip, wifi::local_ip, ESP.getFreeHeap(), esp_get_max_free_block_size(), ampel.max_loop_duration,
ampel.board, dd, hh, mm, ss); ampel.board, dd, hh, mm, ss);
Serial.print(F(" - Body size : ")); // Serial.print(F(" - Body size : "));
// Serial.print(strlen(content));
http.sendContent(content); http.sendContent(content);
Serial.print(strlen(content));
// Script // Script
snprintf_P(content, sizeof(content), script_template snprintf_P(content, sizeof(content), script_template
...@@ -252,8 +252,8 @@ namespace web_server { ...@@ -252,8 +252,8 @@ namespace web_server {
#endif #endif
); );
Serial.print(F(" - Script size : ")); // Serial.print(F(" - Script size : "));
Serial.println(strlen(content)); // Serial.println(strlen(content));
http.sendContent(content); http.sendContent(content);
} }
......
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