1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-30 03:38:55 -05:00

LimeSDR input: make sure fc pos is set to center

This commit is contained in:
Edouard Griffiths 2017-04-21 20:30:25 +02:00
parent 183b957f10
commit 37bbeb87cb

View File

@ -16,6 +16,7 @@
#include <errno.h> #include <errno.h>
#include "limesdrinputsettings.h"
#include "limesdrinputthread.h" #include "limesdrinputthread.h"
LimeSDRInputThread::LimeSDRInputThread(lms_stream_t* stream, SampleSinkFifo* sampleFifo, QObject* parent) : LimeSDRInputThread::LimeSDRInputThread(lms_stream_t* stream, SampleSinkFifo* sampleFifo, QObject* parent) :
@ -25,7 +26,7 @@ LimeSDRInputThread::LimeSDRInputThread(lms_stream_t* stream, SampleSinkFifo* sam
m_convertBuffer(LIMESDR_BLOCKSIZE), m_convertBuffer(LIMESDR_BLOCKSIZE),
m_sampleFifo(sampleFifo), m_sampleFifo(sampleFifo),
m_log2Decim(0), m_log2Decim(0),
m_fcPos(0) m_fcPos(LimeSDRInputSettings::FC_POS_CENTER)
{ {
} }