ipa: raspberrypi: alsc: Fix copy-paste error in debug statement

Reported-by: Coverity CID=309689
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
David Plowman 2021-01-27 11:47:54 +00:00 committed by Kieran Bingham
parent 49bae441ed
commit a2fec12667

View file

@ -403,7 +403,7 @@ void get_cal_table(double ct, std::vector<AlscCalibration> const &calibrations,
memcpy(cal_table, calibrations.back().table, memcpy(cal_table, calibrations.back().table,
XY * sizeof(double)); XY * sizeof(double));
LOG(RPiAlsc, Debug) << "using calibration for " LOG(RPiAlsc, Debug) << "using calibration for "
<< calibrations.front().ct; << calibrations.back().ct;
} else { } else {
int idx = 0; int idx = 0;
while (ct > calibrations[idx + 1].ct) while (ct > calibrations[idx + 1].ct)