summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/rpi/lux.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/raspberrypi/controller/rpi/lux.hpp')
-rw-r--r--src/ipa/raspberrypi/controller/rpi/lux.hpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/ipa/raspberrypi/controller/rpi/lux.hpp b/src/ipa/raspberrypi/controller/rpi/lux.hpp
index bd49a409..5488299b 100644
--- a/src/ipa/raspberrypi/controller/rpi/lux.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/lux.hpp
@@ -13,7 +13,7 @@
#include "../lux_status.h"
#include "../algorithm.hpp"
-// This is our implementation of the "lux control algorithm".
+/* This is our implementation of the "lux control algorithm". */
namespace RPiController {
@@ -28,16 +28,18 @@ public:
void setCurrentAperture(double aperture);
private:
- // These values define the conditions of the reference image, against
- // which we compare the new image.
+ /*
+ * These values define the conditions of the reference image, against
+ * which we compare the new image.
+ */
libcamera::utils::Duration referenceShutterSpeed_;
double referenceGain_;
- double referenceAperture_; // units of 1/f
- double referenceY_; // out of 65536
+ double referenceAperture_; /* units of 1/f */
+ double referenceY_; /* out of 65536 */
double referenceLux_;
double currentAperture_;
LuxStatus status_;
std::mutex mutex_;
};
-} // namespace RPiController
+} /* namespace RPiController */