Move BURST_THRESH from Transceiver.cpp to sigProcLib.h to make it reusable.

Change-Id: I5a888890e26858c0fbb2ddb7ef23cb0fd66a64b4
This commit is contained in:
Alexander Chemeris
2017-03-17 15:29:09 -07:00
parent 4e6c938024
commit b34e60c105
2 changed files with 9 additions and 9 deletions

View File

@@ -50,6 +50,15 @@ enum SignalError {
SIGERR_INTERNAL,
};
/*
* Burst detection threshold
*
* Decision threshold value for burst gating on peak-to-average value of
* correlated synchronization sequences. Lower values pass more bursts up
* to upper layers but will increase the false detection rate.
*/
#define BURST_THRESH 4.0
/** Convert a linear number to a dB value */
float dB(float x);