Removed not required file

This commit is contained in:
Rene Zeldenthuis
2022-07-03 23:47:41 +02:00
parent b0522218f6
commit a2f427f4f7
3 changed files with 11 additions and 21 deletions

View File

@@ -61,6 +61,12 @@ void handleRoot()
web_server.send(200, "text/html", html);
}
void on_config_saved()
{
log_v("on_config_saved");
ESP.restart();
}
void initialize_camera()
{
log_v("Initialize camera");
@@ -104,12 +110,6 @@ void start_rtsp_server()
camera_server = std::unique_ptr<rtsp_server>(new rtsp_server(cam, frame_rate, RTSP_PORT));
}
void on_config_saved()
{
log_v("on_config_saved");
start_rtsp_server();
}
void on_connected()
{
log_v("on_connected");