From df22fea6082bfa9ada034400125c234799fb0df1 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 22 Nov 2012 12:46:42 +0000 Subject: [PATCH] Disable PTT error messages. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2762 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 8302811f2..230cddd1c 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1051,12 +1051,14 @@ void MainWindow::guiUpdate() if(bTxTime and iptt==0 and !m_txMute) { int itx=1; int ierr = ptt(m_pttPort,itx,&iptt); // Raise PTT + /* if(ierr<0) { on_stopTxButton_clicked(); char s[18]; sprintf(s,"PTT Error %d",ierr); msgBox(s); } + */ if(!soundOutThread.isRunning()) { QString t=ui->tx6->text(); double snr=t.mid(1,5).toDouble(); @@ -1121,11 +1123,13 @@ void MainWindow::guiUpdate() if(nc0 == 0) { int itx=0; int ierr=ptt(m_pttPort,itx,&iptt); // Lower PTT + /* if(ierr<0) { char s[18]; sprintf(s,"PTT Error %d",ierr); msgBox(s); } + */ if(!m_txMute) soundOutThread.quitExecution=true; m_transmitting=false; if(m_auto) {