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