Fix offset frequency drift..

This commit is contained in:
Charles J. Cliffe 2016-01-03 15:00:41 -05:00
parent 693e675421
commit 0ace8657b2

View File

@ -246,8 +246,8 @@ void SDRThread::updateSettings() {
}
double devFreq = device->getFrequency(SOAPY_SDR_RX,0);
if (devFreq != frequency.load()) {
wxGetApp().setFrequency((long long)devFreq);
if (((long long)devFreq + offset.load()) != frequency.load()) {
wxGetApp().setFrequency((long long)devFreq + offset.load());
}
if (agc_mode_changed.load()) {