diff options
Diffstat (limited to 'Transceiver52M')
-rw-r--r-- | Transceiver52M/sigProcLib.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Transceiver52M/sigProcLib.cpp b/Transceiver52M/sigProcLib.cpp index 1a72e00..b3e3969 100644 --- a/Transceiver52M/sigProcLib.cpp +++ b/Transceiver52M/sigProcLib.cpp @@ -1466,10 +1466,8 @@ static float computeCI(const signalVector *burst, const CorrelationSequence *syn { const int N = sync->sequence->size(); float S, C; - int ps; - /* Integer position where the sequence starts */ - ps = start + 1 - N + (int)roundf(toa); + const int ps = start + 1 - N + (int)roundf(toa); /* Estimate Signal power */ S = 0.0f; |