From ef3ce74b261bca51088ba49dd5740e801905ab20 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Thu, 4 Feb 2021 09:34:55 +0000 Subject: ipa: raspberrypi: noise: Remove unnecessary atomic variable mode_factor_ does not need to be atomic - it is set by SwitchMode() which runs synchronously. Signed-off-by: David Plowman Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/ipa/raspberrypi/controller/rpi/noise.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ipa/raspberrypi/controller/rpi/noise.hpp b/src/ipa/raspberrypi/controller/rpi/noise.hpp index 6f6e0be9..1c9de5c8 100644 --- a/src/ipa/raspberrypi/controller/rpi/noise.hpp +++ b/src/ipa/raspberrypi/controller/rpi/noise.hpp @@ -26,7 +26,7 @@ private: // the noise profile for analogue gain of 1.0 double reference_constant_; double reference_slope_; - std::atomic mode_factor_; + double mode_factor_; }; } // namespace RPiController -- cgit v1.2.1