mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-20 06:53:45 +02:00
Fix compilation issues, change ProjectConfig into a shared_ptr with updated definitions
// todo implement the API and missing features
This commit is contained in:
@@ -20,11 +20,11 @@ class CameraManager
|
||||
{
|
||||
private:
|
||||
sensor_t *camera_sensor;
|
||||
ProjectConfig &projectConfig;
|
||||
std::shared_ptr<ProjectConfig> projectConfig;
|
||||
camera_config_t config;
|
||||
|
||||
public:
|
||||
CameraManager(ProjectConfig &projectConfigl);
|
||||
CameraManager(std::shared_ptr<ProjectConfig> projectConfigl);
|
||||
int setCameraResolution(framesize_t frameSize);
|
||||
bool setupCamera(); // todo, once we have observers, make it private
|
||||
|
||||
|
||||
Reference in New Issue
Block a user