mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-29 21:02:26 -04:00
Remove more unused stuff.
This commit is contained in:
parent
0f417374c3
commit
ac0055b303
@ -29,7 +29,7 @@ extern struct { //This is "common/datcom/..." in Fortran
|
|||||||
int nxant; //1 ==> add 45 deg to measured pol angle
|
int nxant; //1 ==> add 45 deg to measured pol angle
|
||||||
int nCFOM; //1 ==> CFOM already done, 0 otherwise
|
int nCFOM; //1 ==> CFOM already done, 0 otherwise
|
||||||
int nfsample; //Input sample rate
|
int nfsample; //Input sample rate
|
||||||
int nxpol; //1 if using xpol antennas, 0 otherwise
|
int junk3; //
|
||||||
int nBaseSubmode; //Base submode for Q65-60x (aka m_modeQ65)
|
int nBaseSubmode; //Base submode for Q65-60x (aka m_modeQ65)
|
||||||
int ndop00; //EME Self Doppler
|
int ndop00; //EME Self Doppler
|
||||||
int nsave; //no longer used
|
int nsave; //no longer used
|
||||||
@ -70,7 +70,7 @@ extern struct { //This is "common/datcom/..." in Fortran
|
|||||||
int nxant; //1 ==> add 45 deg to measured pol angle
|
int nxant; //1 ==> add 45 deg to measured pol angle
|
||||||
int nCFOM; //1 ==> CFOM already done, 0 otherwise
|
int nCFOM; //1 ==> CFOM already done, 0 otherwise
|
||||||
int nfsample; //Input sample rate
|
int nfsample; //Input sample rate
|
||||||
int nxpol; //1 if using xpol antennas, 0 otherwise
|
int junk3; //
|
||||||
int nBaseSubmode; //Base submode for Q65-60x (aka m_modeQ65)
|
int nBaseSubmode; //Base submode for Q65-60x (aka m_modeQ65)
|
||||||
int ndop00; //EME Self Doppler
|
int ndop00; //EME Self Doppler
|
||||||
int nsave; //Number of s3(64,63) spectra saved
|
int nsave; //Number of s3(64,63) spectra saved
|
||||||
|
@ -6,11 +6,10 @@
|
|||||||
|
|
||||||
extern qint16 id[2*60*96000];
|
extern qint16 id[2*60*96000];
|
||||||
|
|
||||||
void getfile(QString fname, bool xpol, int dbDgrd)
|
void getfile(QString fname, int dbDgrd)
|
||||||
{
|
{
|
||||||
// int npts=2*56*96000;
|
// int npts=2*56*96000;
|
||||||
int npts=2*60*96000;
|
int npts=2*60*96000;
|
||||||
if(xpol) npts=2*npts;
|
|
||||||
|
|
||||||
// Degrade S/N by dbDgrd dB -- for tests only!!
|
// Degrade S/N by dbDgrd dB -- for tests only!!
|
||||||
float dgrd=0.0;
|
float dgrd=0.0;
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include "commons.h"
|
#include "commons.h"
|
||||||
|
|
||||||
void getfile(QString fname, bool xpol, int dbDgrd);
|
void getfile(QString fname, int dbDgrd);
|
||||||
void save_iq(QString fname, bool bCFOM);
|
void save_iq(QString fname, bool bCFOM);
|
||||||
float gran();
|
float gran();
|
||||||
|
|
||||||
|
@ -643,7 +643,7 @@ void MainWindow::on_actionOpen_triggered() //Open File
|
|||||||
if(m_monitoring) on_monitorButton_clicked();
|
if(m_monitoring) on_monitorButton_clicked();
|
||||||
m_diskData=true;
|
m_diskData=true;
|
||||||
int dbDgrd=0;
|
int dbDgrd=0;
|
||||||
*future1 = QtConcurrent::run(getfile, fname, false, dbDgrd);
|
*future1 = QtConcurrent::run(getfile, fname, dbDgrd);
|
||||||
watcher1->setFuture(*future1);
|
watcher1->setFuture(*future1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -669,7 +669,7 @@ void MainWindow::on_actionOpen_next_in_directory_triggered() //Open Next
|
|||||||
}
|
}
|
||||||
m_diskData=true;
|
m_diskData=true;
|
||||||
int dbDgrd=0;
|
int dbDgrd=0;
|
||||||
*future1 = QtConcurrent::run(getfile, fname, false, dbDgrd);
|
*future1 = QtConcurrent::run(getfile, fname, dbDgrd);
|
||||||
watcher1->setFuture(*future1);
|
watcher1->setFuture(*future1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -839,7 +839,6 @@ void MainWindow::decode() //decode()
|
|||||||
datcom_.nxant=0;
|
datcom_.nxant=0;
|
||||||
m_nutc0=datcom_.nutc;
|
m_nutc0=datcom_.nutc;
|
||||||
datcom_.nfsample=96000;
|
datcom_.nfsample=96000;
|
||||||
datcom_.nxpol=0;
|
|
||||||
datcom_.nBaseSubmode=m_modeQ65;
|
datcom_.nBaseSubmode=m_modeQ65;
|
||||||
datcom_.max_drift=ui->sbMaxDrift->value();
|
datcom_.max_drift=ui->sbMaxDrift->value();
|
||||||
datcom_.offset=ui->sbOffset->value();
|
datcom_.offset=ui->sbOffset->value();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user