aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-09-01 19:51:28 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-09-01 19:51:28 +0200
commitd16eb314edd08520bebb6e203c780256f130b085 (patch)
tree817f5c5f3699a1a32bfa7500724d1339d852f91d
parent27bd2f6dd1e49c178f4a2b3a52354a2f893094b2 (diff)
computeCI(): Constify param and pass it as reference
-rw-r--r--Transceiver52M/sigProcLib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/sigProcLib.cpp b/Transceiver52M/sigProcLib.cpp
index fa8a407..7169a15 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;