change(camera): change esp_cam_del_ctlr to esp_cam_ctlr_del

This commit is contained in:
Armando
2024-04-26 16:04:18 +08:00
parent c706096f45
commit d22f9a97aa
4 changed files with 6 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ esp_err_t esp_cam_ctlr_get_frame_buffer_len(esp_cam_ctlr_handle_t handle, size_t
return handle->get_buffer_len(handle, ret_fb_len);
}
esp_err_t esp_cam_del_ctlr(esp_cam_ctlr_handle_t handle)
esp_err_t esp_cam_ctlr_del(esp_cam_ctlr_handle_t handle)
{
ESP_RETURN_ON_FALSE(handle, ESP_ERR_INVALID_ARG, TAG, "invalid argument: null pointer");
ESP_RETURN_ON_FALSE(handle->del, ESP_ERR_NOT_SUPPORTED, TAG, "controller driver function not supported");