From 2031e2f2901403242329d7b59d97fa7c98758206 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Fri, 10 May 2024 11:02:08 +0100 Subject: ipa: rpi: Add accessor function for monoSensor_ The monoSensor_ member variable will be used by the derived IPAs in an upcoming commit, so add an accessor function for it. Signed-off-by: Naushir Patuck Reviewed-by: Kieran Bingham Reviewed-by: Jacopo Mondi Signed-off-by: Kieran Bingham --- src/ipa/rpi/common/ipa_base.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ipa/rpi/common') diff --git a/src/ipa/rpi/common/ipa_base.h b/src/ipa/rpi/common/ipa_base.h index 074b304e..a95cda1f 100644 --- a/src/ipa/rpi/common/ipa_base.h +++ b/src/ipa/rpi/common/ipa_base.h @@ -49,6 +49,11 @@ public: void processStats(const ProcessParams ¶ms) override; protected: + bool monoSensor() + { + return monoSensor_; + } + /* Raspberry Pi controller specific defines. */ std::unique_ptr helper_; RPiController::Controller controller_; -- cgit v1.2.1