Change the displayed "drift" to FFT bins per transmission length.

Re-activate "killbyname" on program startup.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2782 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2012-11-28 15:09:50 +00:00
parent e4577af5da
commit c51a3333d9
2 changed files with 23 additions and 13 deletions
+9
View File
@@ -102,6 +102,7 @@ MainWindow::MainWindow(QWidget *parent) :
btxok=false;
m_restart=false;
m_transmitting=false;
m_killAll=false;
m_widebandDecode=false;
m_ntx=1;
m_myCall="K1JT";
@@ -128,6 +129,14 @@ MainWindow::MainWindow(QWidget *parent) :
ui->xThermo->setFillBrush(Qt::green);
#ifdef WIN32
while(true) {
int iret=killbyname("jt9.exe");
if(iret == 603) break;
if(iret != 0) msgBox("KillByName return code: " +
QString::number(iret));
}
#endif
if(!mem_jt9.attach()) {
if (!mem_jt9.create(sizeof(jt9com_))) {
msgBox("Unable to create shared memory segment.");