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
|
#pragma once
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <atomic>
|
|
||||||
|
|
||||||
#include "../ccm_algorithm.hpp"
|
#include "../ccm_algorithm.hpp"
|
||||||
#include "../pwl.hpp"
|
#include "../pwl.hpp"
|
||||||
|
@ -70,7 +69,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
CcmConfig config_;
|
CcmConfig config_;
|
||||||
std::atomic<double> saturation_;
|
double saturation_;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace RPiController
|
} // namespace RPiController
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue