mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-20 15:03:44 +02:00
Fix UVC failing to compile
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user