Improved config code / xml format

This commit is contained in:
Charles J. Cliffe
2015-04-21 23:19:45 -04:00
parent adc1500091
commit ca851add76
4 changed files with 92 additions and 40 deletions
+1 -1
View File
@@ -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);