diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-09-01 19:51:28 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-09-01 19:51:28 +0200 |
commit | d16eb314edd08520bebb6e203c780256f130b085 (patch) | |
tree | 817f5c5f3699a1a32bfa7500724d1339d852f91d | |
parent | 27bd2f6dd1e49c178f4a2b3a52354a2f893094b2 (diff) |
computeCI(): Constify param and pass it as reference
Change-Id: Icba5fce57c858bd16196ae3012c100c7e4134335
-rw-r--r-- | Transceiver52M/sigProcLib.cpp | 2 |
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; |