transceiver: WIP: Set default max delay to 2 samples.

Default value of 0 may be too harsh, especially given random Rx/Tx delay
in 1 SPS receive mode.
This commit is contained in:
Alexander Chemeris 2016-03-25 18:33:42 +03:00
parent 72d4404534
commit aa65b020e7
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ Transceiver::Transceiver(int wBasePort,
mTransmitLatency(wTransmitLatency), mRadioInterface(wRadioInterface),
rssiOffset(wRssiOffset),
mSPSTx(tx_sps), mSPSRx(rx_sps), mChans(chans), mOn(false),
mTxFreq(0.0), mRxFreq(0.0), mTSC(0), mMaxExpectedDelayAB(0), mMaxExpectedDelayNB(0),
mTxFreq(0.0), mRxFreq(0.0), mTSC(0), mMaxExpectedDelayAB(2*rx_sps), mMaxExpectedDelayNB(2*rx_sps),
mWriteBurstToDiskMask(0)
{
txFullScale = mRadioInterface->fullScaleInputValue();