mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-04 23:22:26 -04:00
Do not do FreqCal calculations on period when rig changes frequency
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7471 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
b43567c38c
commit
1009d87ab4
@ -1140,7 +1140,10 @@ void MainWindow::dataSink(qint64 frames)
|
|||||||
}
|
}
|
||||||
|
|
||||||
fixStop();
|
fixStop();
|
||||||
if(m_mode=="FreqCal" and m_ihsym>=16 and m_ihsym%8==0) {
|
if (m_mode == "FreqCal"
|
||||||
|
// only calculate after 1st chunk, also skip chunk where rig
|
||||||
|
// changed frequency
|
||||||
|
&& !(m_ihsym % 8) && m_ihsym > 8 && m_ihsym <= 96) {
|
||||||
int RxFreq=ui->RxFreqSpinBox->value ();
|
int RxFreq=ui->RxFreqSpinBox->value ();
|
||||||
int nkhz=(m_freqNominal+RxFreq)/1000;
|
int nkhz=(m_freqNominal+RxFreq)/1000;
|
||||||
freqcal_(&dec_data.d2[0],&k,&nkhz,&RxFreq,&m_Ftol,&line[0],80);
|
freqcal_(&dec_data.d2[0],&k,&nkhz,&RxFreq,&m_Ftol,&line[0],80);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user