[libcamera-devel] [PATCH] ipa: raspberrypi: alsc: Fix copy-paste error in debug statement
David Plowman
david.plowman at raspberrypi.com
Wed Jan 27 12:47:54 CET 2021
Signed-off-by: David Plowman <david.plowman at raspberrypi.com>
---
src/ipa/raspberrypi/controller/rpi/alsc.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ipa/raspberrypi/controller/rpi/alsc.cpp b/src/ipa/raspberrypi/controller/rpi/alsc.cpp
index 5262bcab..b0d24aa2 100644
--- a/src/ipa/raspberrypi/controller/rpi/alsc.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/alsc.cpp
@@ -403,7 +403,7 @@ void get_cal_table(double ct, std::vector<AlscCalibration> const &calibrations,
memcpy(cal_table, calibrations.back().table,
XY * sizeof(double));
LOG(RPiAlsc, Debug) << "using calibration for "
- << calibrations.front().ct;
+ << calibrations.back().ct;
} else {
int idx = 0;
while (ct > calibrations[idx + 1].ct)
--
2.20.1
More information about the libcamera-devel
mailing list