diff options
authorPau Espin Pedrol <pespin@sysmocom.de>2021-09-01 19:46:39 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-09-01 19:46:43 +0200
commit27bd2f6dd1e49c178f4a2b3a52354a2f893094b2 (patch)
parent8803f923f9c439c841492391182de273b3920e68 (diff)
detectBurst(): constify parameter
1 files changed, 2 insertions, 2 deletions
diff --git a/Transceiver52M/sigProcLib.cpp b/Transceiver52M/sigProcLib.cpp
index ff5e32f..fa8a407 100644
--- a/Transceiver52M/sigProcLib.cpp
+++ b/Transceiver52M/sigProcLib.cpp
@@ -1461,7 +1461,7 @@ static signalVector *downsampleBurst(const signalVector &burst)
* It is computed from the training sequence of each received burst,
* by comparing the "ideal" training sequence with the actual one.
-static float computeCI(const signalVector *burst, CorrelationSequence *sync,
+static float computeCI(const signalVector *burst, const CorrelationSequence *sync,
float toa, int start, complex xcorr)
float S, C;
@@ -1492,7 +1492,7 @@ static float computeCI(const signalVector *burst, CorrelationSequence *sync,
* and we run full interpolating peak detection.
static int detectBurst(const signalVector &burst,
- signalVector &corr, CorrelationSequence *sync,
+ signalVector &corr, const CorrelationSequence *sync,
float thresh, int sps, int start, int len,
struct estim_burst_params *ebp)