mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-23 04:08:36 -05:00
Fix offset frequency drift..
This commit is contained in:
parent
693e675421
commit
0ace8657b2
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user