mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-07-24 19:14:23 -04:00
Improved config code / xml format
This commit is contained in:
@@ -137,7 +137,7 @@ void SDRThread::threadMain() {
|
||||
signed char buf[BUF_SIZE];
|
||||
|
||||
long long frequency = DEFAULT_FREQ;
|
||||
int ppm = wxGetApp().getConfig()->getPPM(devs[deviceId]->getDeviceId());
|
||||
int ppm = wxGetApp().getConfig()->getDevice(devs[deviceId]->getDeviceId())->getPPM();
|
||||
|
||||
rtlsdr_open(&dev, deviceId);
|
||||
rtlsdr_set_sample_rate(dev, sampleRate);
|
||||
|
||||
Reference in New Issue
Block a user