detectBurst(): constify parameter
Change-Id: I3d8738b492a175f2ef0c570579e335e7b7695694
This commit is contained in:
parent
8803f923f9
commit
27bd2f6dd1
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue