mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-16 00:45:07 +03:00
ipa: raspberrypi: lux: Supply missing method and remove atomic variable
Supply the missing SetCurrentAperture() method (even though no one is calling it). If we did call it, it would be called synchronously so the atomic variable is not required. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
ef3ce74b26
commit
7fab304719
2 changed files with 6 additions and 2 deletions
|
@ -46,6 +46,11 @@ void Lux::Read(boost::property_tree::ptree const ¶ms)
|
|||
current_aperture_ = reference_aperture_;
|
||||
}
|
||||
|
||||
void Lux::SetCurrentAperture(double aperture)
|
||||
{
|
||||
current_aperture_ = aperture;
|
||||
}
|
||||
|
||||
void Lux::Prepare(Metadata *image_metadata)
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(mutex_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue