diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-06-09 20:52:11 -0400 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-06-10 23:13:33 -0400 |
commit | 030951695c3c78557cd27f19533daa412b3937a3 (patch) | |
tree | 266f5274cf913633a2ea61ae0d33d6ac89da722d /Transceiver52M/Transceiver.cpp | |
parent | b721d6104d75dd6fb426fb3cdd4eaa0632ef4bbd (diff) |
sigProcLib: Abstract out common part of Normal/RACH burst detection.
As a side change - get rid of passing toa and amp arguments as pointers and use
references instead.
The commit doesn't change behaviour, but makes the code cleaner.
Diffstat (limited to 'Transceiver52M/Transceiver.cpp')
-rw-r--r-- | Transceiver52M/Transceiver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp index 387b9f3..9bd90df 100644 --- a/Transceiver52M/Transceiver.cpp +++ b/Transceiver52M/Transceiver.cpp @@ -540,7 +540,7 @@ int Transceiver::detectRACH(TransceiverState *state, { float threshold = 6.0; - return detectRACHBurst(burst, threshold, mSPSRx, &, &toa); + return detectRACHBurst(burst, threshold, mSPSRx, amp, toa); } /* @@ -569,8 +569,8 @@ int Transceiver::detectTSC(TransceiverState *state, signalVector &burst, } /* Detect normal burst midambles */ - success = analyzeTrafficBurst(burst, mTSC, threshold, mSPSRx, &, - &toa, mMaxExpectedDelay, estimateChan, + success = analyzeTrafficBurst(burst, mTSC, threshold, mSPSRx, amp, + toa, mMaxExpectedDelay, estimateChan, &chanResp, &chanOffset); if (success <= 0) { return success; |