diff options
-rw-r--r-- | Transceiver52M/Transceiver.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp index 23aabdd..590101c 100644 --- a/Transceiver52M/Transceiver.cpp +++ b/Transceiver52M/Transceiver.cpp @@ -558,8 +558,8 @@ CorrType Transceiver::expectedCorrType(GSM::Time currTime, return mExtRACH ? EXT_RACH : RACH; else if ((mod52 == 25) || (mod52 == 51)) return IDLE; - else - return TSC; + else /* Enable 8-PSK burst detection if EDGE is enabled */ + return mEdge ? EDGE : TSC; break; } case LOOPBACK: @@ -610,10 +610,6 @@ bool Transceiver::pullRadioVector(size_t chan, struct trx_ul_burst_ind *bi) burstTime = radio_burst->getTime(); CorrType type = expectedCorrType(burstTime, chan); - /* Enable 8-PSK burst detection if EDGE is enabled */ - if (mEdge && (type == TSC)) - type = EDGE; - /* Debug: dump bursts to disk */ /* bits 0-7 - chan 0 timeslots * bits 8-15 - chan 1 timeslots */ |