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 <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
7a8150c5b9
commit
ef3ce74b26
@@ -26,7 +26,7 @@ private:
|
|||||||
// the noise profile for analogue gain of 1.0
|
// the noise profile for analogue gain of 1.0
|
||||||
double reference_constant_;
|
double reference_constant_;
|
||||||
double reference_slope_;
|
double reference_slope_;
|
||||||
std::atomic<double> mode_factor_;
|
double mode_factor_;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace RPiController
|
} // namespace RPiController
|
||||||
|
|||||||
Reference in New Issue
Block a user