mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-08-14 15:33:36 -04:00
MSK144:
1. Clean up mskrtd to remove unused variables. 2. Re-instate Rx frequency spinbox in MSK144 mode to allow decoding of off-frequency signals with small FTol. Make changes needed to pass Rx Freq in to fortran routines. 3. Enable realtime decoder for testing. Auto sequence does not yet work when realtime decoding is enabled. There are probably other bugs as well. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7109 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+5
-3
@@ -67,7 +67,7 @@ extern "C" {
|
||||
void symspec_(struct dec_data *, int* k, int* ntrperiod, int* nsps, int* ingain, int* minw,
|
||||
float* px, float s[], float* df3, int* nhsym, int* npts8);
|
||||
|
||||
void hspec_(short int d2[], int* k, int* nutc0, int* ntrperiod, int* ntol,
|
||||
void hspec_(short int d2[], int* k, int* nutc0, int* ntrperiod, int* nrxfreq, int* ntol,
|
||||
bool* bmsk144, int* ingain, float green[], float s[], int* jh,
|
||||
char line[], int len1);
|
||||
|
||||
@@ -1273,7 +1273,9 @@ void MainWindow::fastSink(qint64 frames)
|
||||
bool bmsk144=((m_mode=="MSK144") and (m_monitoring or m_diskData));
|
||||
bmsk144=bmsk144 && m_config.realTimeDecode();
|
||||
line[0]=0;
|
||||
hspec_(dec_data.d2,&k,&nutc0,&m_TRperiod, &m_Ftol, &bmsk144,&m_inGain,fast_green,
|
||||
//### Is this OK?
|
||||
m_RxFreq=ui->RxFreqSpinBox->value ();
|
||||
hspec_(dec_data.d2,&k,&nutc0,&m_TRperiod,&m_RxFreq,&m_Ftol,&bmsk144,&m_inGain,fast_green,
|
||||
fast_s,&fast_jh, &line[0],80);
|
||||
float px = fast_green[fast_jh];
|
||||
QString t;
|
||||
@@ -4324,7 +4326,7 @@ void MainWindow::switch_mode (Mode mode)
|
||||
ui->rptSpinBox->setMaximum(49);
|
||||
ui->sbFtol->setMinimum(21);
|
||||
ui->sbFtol->setMaximum(27);
|
||||
ui->RxFreqSpinBox->setVisible(m_mode!="MSK144");
|
||||
// ui->RxFreqSpinBox->setVisible(m_mode!="MSK144");
|
||||
}
|
||||
|
||||
void MainWindow::WSPR_config(bool b)
|
||||
|
||||
Reference in New Issue
Block a user