aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2013-07-08 15:47:44 +0200
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2013-07-14 13:36:42 +0400
commit621e52ab4ae09ce8d6d14bb20a6a6efc0c28600d (patch)
tree54465f7f7db3627088fa561507597dc4eced062c /Transceiver52M
parentf86aa2c923d8aafa582e328b48805796089f8cb2 (diff)
Transceiver52M: Disable dynamic filler table setting and fix deallocation
Diffstat (limited to 'Transceiver52M')
-rw-r--r--Transceiver52M/DriveLoop.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/Transceiver52M/DriveLoop.cpp b/Transceiver52M/DriveLoop.cpp
index 1b1ad01..f2e81c6 100644
--- a/Transceiver52M/DriveLoop.cpp
+++ b/Transceiver52M/DriveLoop.cpp
@@ -113,13 +113,6 @@ void DriveLoop::pushRadioVector(GSM::Time &nowTime)
// Even if the burst is stale, put it in the fillter table.
// (It might be an idle pattern.)
LOG(NOTICE) << "dumping STALE burst in TRX->USRP interface";
- if (i == mC0) {
- const GSM::Time& nextTime = staleBurst->getTime();
- int TN = nextTime.TN();
- int modFN = nextTime.FN() % fillerModulus[i][TN];
- delete fillerTable[i][modFN][TN];
- fillerTable[i][modFN][TN] = staleBurst;
- }
}
int TN = nowTime.TN();
@@ -132,12 +125,9 @@ void DriveLoop::pushRadioVector(GSM::Time &nowTime)
// if queue contains data at the desired timestamp, stick it into FIFO
if (next = (radioVector*) mTransmitPriorityQueue[i].getCurrentBurst(nowTime)) {
LOG(DEBUG) << "transmitFIFO: wrote burst " << next << " at time: " << nowTime;
- if (i == mC0) {
- delete fillerTable[i][modFN][TN];
- fillerTable[i][modFN][TN] = new signalVector(*(next));
- mIsFiller[i] = false;
- }
mTxBursts[i] = next;
+ mIsFiller[i] = false;
+ mIsZero[i] = false;
}
}