- added dedicated entry for DDC frequency and STR rate for each TX and RX
git-svn-id: http://moon:8086/svn/software/trunk/projects/mpsk_rx_gui@868 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
+3
-1
@@ -694,6 +694,8 @@ void Receiver::processBaseband(CVec const &iq, uint32_t len)
|
||||
|
||||
void Receiver::initDDC()
|
||||
{
|
||||
printf("Receiver::initDDC: ddc_freq=%f\n", m_params.ddc_freq);
|
||||
|
||||
m_nco_ddc.init(m_params.ddc_freq/m_params.samplerate, 0);
|
||||
}
|
||||
|
||||
@@ -795,7 +797,7 @@ void Receiver::setParams(const params_t ¶ms)
|
||||
{
|
||||
const ScopedLock sl (m_lock);
|
||||
params_t lastParams = m_params;
|
||||
|
||||
|
||||
m_params = params;
|
||||
|
||||
// DDC frequency has changed
|
||||
|
||||
Reference in New Issue
Block a user