Skip to content

Commit

Permalink
fixed typo (#1881)
Browse files Browse the repository at this point in the history
Co-authored-by: CaCO3 <caco@ruinelli.ch>
  • Loading branch information
caco3 and CaCO3 committed Jan 20, 2023
1 parent 782e1c2 commit 2735a08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/components/jomjol_controlcamera/server_camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ esp_err_t handler_capture(httpd_req_t *req)
}


esp_err_t handler_capture_with_ligth(httpd_req_t *req)
esp_err_t handler_capture_with_light(httpd_req_t *req)
{
#ifdef DEBUG_DETAIL_ON
LogFile.WriteHeapInfo("handler_capture_with_ligth - Start");
LogFile.WriteHeapInfo("handler_capture_with_light - Start");
#endif

if (Camera.getCameraInitSuccessful())
Expand Down Expand Up @@ -170,7 +170,7 @@ esp_err_t handler_capture_with_ligth(httpd_req_t *req)
Camera.LightOnOff(false);

#ifdef DEBUG_DETAIL_ON
LogFile.WriteHeapInfo("handler_capture_with_ligth - Done");
LogFile.WriteHeapInfo("handler_capture_with_light - Done");
#endif

return result;
Expand Down Expand Up @@ -279,7 +279,7 @@ void register_server_camera_uri(httpd_handle_t server)
httpd_register_uri_handler(server, &camuri);

camuri.uri = "/capture_with_flashlight";
camuri.handler = handler_capture_with_ligth;
camuri.handler = handler_capture_with_light;
camuri.user_ctx = NULL;
httpd_register_uri_handler(server, &camuri);

Expand Down

0 comments on commit 2735a08

Please sign in to comment.