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:
committed by
Laurent Pinchart
parent
a03cd6af11
commit
df3a86ace3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user