Fix UVC failing to compile

This commit is contained in:
Lorow
2025-04-02 19:50:51 +02:00
parent 055d27b306
commit d483a3eecb
3 changed files with 4 additions and 4 deletions

View File

@@ -28,8 +28,8 @@ static esp_err_t UVCStreamHelpers::camera_start_cb(uvc_format_t format, int widt
return ESP_ERR_NOT_SUPPORTED;
}
cameraHandler.setCameraResolution(frame_size);
cameraHandler.resetCamera(0);
cameraHandler->setCameraResolution(frame_size);
cameraHandler->resetCamera(0);
return ESP_OK;
}

View File

@@ -9,7 +9,7 @@
// we need access to the camera manager
// in order to update the frame settings
extern CameraManager cameraHandler;
extern std::shared_ptr<CameraManager> cameraHandler;
namespace UVCStreamHelpers
{