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

10
.gitignore vendored
View File

@@ -1,5 +1,5 @@
.pio .*/*
.vscode/.browse.c_cpp.db* .*.*
.vscode/c_cpp_properties.json *.log
.vscode/launch.json .DS_Store
.vscode/ipch workspace.code-workspace

View File

@@ -1,10 +0,0 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
],
"unwantedRecommendations": [
"ms-vscode.cpptools-extension-pack"
]
}

View File

@@ -61,6 +61,12 @@ void handleRoot()
web_server.send(200, "text/html", html); web_server.send(200, "text/html", html);
} }
void on_config_saved()
{
log_v("on_config_saved");
ESP.restart();
}
void initialize_camera() void initialize_camera()
{ {
log_v("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)); 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() void on_connected()
{ {
log_v("on_connected"); log_v("on_connected");