computeCI(): Constify param and pass it as reference
Change-Id: Icba5fce57c858bd16196ae3012c100c7e4134335
This commit is contained in:
parent
27bd2f6dd1
commit
d16eb314ed
|
@ -1462,7 +1462,7 @@ static signalVector *downsampleBurst(const signalVector &burst)
|
||||||
* by comparing the "ideal" training sequence with the actual one.
|
* by comparing the "ideal" training sequence with the actual one.
|
||||||
*/
|
*/
|
||||||
static float computeCI(const signalVector *burst, const CorrelationSequence *sync,
|
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;
|
float S, C;
|
||||||
int ps;
|
int ps;
|
||||||
|
|
Loading…
Reference in New Issue