libcamera: camera_manager: Rename parameter to get()
The CameraManager::get() function takes a string containing the ID of the requested camera. This is correctly documented and implemented in the .cpp file, but the header file names the parameter 'name' instead of 'id'. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
||||
void stop();
|
||||
|
||||
std::vector<std::shared_ptr<Camera>> cameras() const;
|
||||
std::shared_ptr<Camera> get(const std::string &name);
|
||||
std::shared_ptr<Camera> get(const std::string &id);
|
||||
std::shared_ptr<Camera> get(dev_t devnum);
|
||||
|
||||
void addCamera(std::shared_ptr<Camera> camera,
|
||||
|
||||
Reference in New Issue
Block a user