Skip to content

Commit

Permalink
Dummy data bump shouldn't be needed now; racing with small bandwidths?
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcliffe committed Jul 11, 2016
1 parent 9436f99 commit 4783ae5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/sdr/SDRPostThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ void SDRPostThread::updateActiveDemodulators() {
// deactivate if active
if (demod->isActive() && !demod->isFollow() && !demod->isTracking()) {
demod->setActive(false);
DemodulatorThreadIQData *dummyDataOut = new DemodulatorThreadIQData;
dummyDataOut->frequency = frequency;
dummyDataOut->sampleRate = sampleRate;
if (!demodQueue->push(dummyDataOut)) {
delete dummyDataOut;
}
// DemodulatorThreadIQData *dummyDataOut = new DemodulatorThreadIQData;
// dummyDataOut->frequency = frequency;
// dummyDataOut->sampleRate = sampleRate;
// if (!demodQueue->push(dummyDataOut)) {
// delete dummyDataOut;
// }
}

// follow if follow mode
Expand Down

0 comments on commit 4783ae5

Please sign in to comment.