mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-17 13:51:47 -05:00
SoapySDR Input: reversed soft LO ppm correction. Fixes #641
This commit is contained in:
parent
bc7a227277
commit
71f96aded6
@ -719,7 +719,7 @@ void SoapySDRInput::setCenterFrequency(qint64 centerFrequency)
|
||||
bool SoapySDRInput::setDeviceCenterFrequency(SoapySDR::Device *dev, int requestedChannel, quint64 freq_hz, int loPpmTenths)
|
||||
{
|
||||
qint64 df = ((qint64)freq_hz * loPpmTenths) / 10000000LL;
|
||||
freq_hz += df;
|
||||
freq_hz -= df;
|
||||
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user