1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-28 07:46:37 -04:00

SoapySDR Input: reversed soft LO ppm correction. Fixes #641

This commit is contained in:
f4exb 2020-09-21 20:32:35 +02:00
parent bc7a227277
commit 71f96aded6

View File

@ -719,7 +719,7 @@ void SoapySDRInput::setCenterFrequency(qint64 centerFrequency)
bool SoapySDRInput::setDeviceCenterFrequency(SoapySDR::Device *dev, int requestedChannel, quint64 freq_hz, int loPpmTenths) bool SoapySDRInput::setDeviceCenterFrequency(SoapySDR::Device *dev, int requestedChannel, quint64 freq_hz, int loPpmTenths)
{ {
qint64 df = ((qint64)freq_hz * loPpmTenths) / 10000000LL; qint64 df = ((qint64)freq_hz * loPpmTenths) / 10000000LL;
freq_hz += df; freq_hz -= df;
try try
{ {