replace serial print

This commit is contained in:
gemu2015 2020-05-04 06:54:24 +02:00
parent c2b295984b
commit 0f5ffe5473

View File

@ -524,7 +524,8 @@ void CamHandleRoot(void) {
//CamServer->redirect("http://" + String(ip) + ":81/cam.mjpeg"); //CamServer->redirect("http://" + String(ip) + ":81/cam.mjpeg");
CamServer->sendHeader("Location", WiFi.localIP().toString() + ":81/cam.mjpeg"); CamServer->sendHeader("Location", WiFi.localIP().toString() + ":81/cam.mjpeg");
CamServer->send(302, "", ""); CamServer->send(302, "", "");
Serial.printf("WC root called"); //Serial.printf("WC root called");
AddLog_P2(WC_LOGLEVEL, PSTR("CAM: root called"));
} }
uint16_t motion_detect; uint16_t motion_detect;