mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 17:15:07 +03:00
ipa: raspberrypi: ccm: Remove unnecessary atomic variable
SetSaturation() gets called synchronously so there is no need for saturation_ to be atomic. 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
a03cd6af11
commit
df3a86ace3
1 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <atomic>
|
||||
|
||||
#include "../ccm_algorithm.hpp"
|
||||
#include "../pwl.hpp"
|
||||
|
@ -70,7 +69,7 @@ public:
|
|||
|
||||
private:
|
||||
CcmConfig config_;
|
||||
std::atomic<double> saturation_;
|
||||
double saturation_;
|
||||
};
|
||||
|
||||
} // namespace RPiController
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue