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:
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)
|
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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user