From d16eb314edd08520bebb6e203c780256f130b085 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 1 Sep 2021 19:51:28 +0200 Subject: [PATCH] computeCI(): Constify param and pass it as reference Change-Id: Icba5fce57c858bd16196ae3012c100c7e4134335 --- Transceiver52M/sigProcLib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Transceiver52M/sigProcLib.cpp b/Transceiver52M/sigProcLib.cpp index fa8a407a..7169a15f 100644 --- a/Transceiver52M/sigProcLib.cpp +++ b/Transceiver52M/sigProcLib.cpp @@ -1462,7 +1462,7 @@ static signalVector *downsampleBurst(const signalVector &burst) * by comparing the "ideal" training sequence with the actual one. */ static float computeCI(const signalVector *burst, const CorrelationSequence *sync, - float toa, int start, complex xcorr) + float toa, int start, const complex &xcorr) { float S, C; int ps;