Disable PTT error messages.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2762 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2012-11-22 12:46:42 +00:00
parent 808c152ad7
commit df22fea608

View File

@ -1051,12 +1051,14 @@ void MainWindow::guiUpdate()
if(bTxTime and iptt==0 and !m_txMute) { if(bTxTime and iptt==0 and !m_txMute) {
int itx=1; int itx=1;
int ierr = ptt(m_pttPort,itx,&iptt); // Raise PTT int ierr = ptt(m_pttPort,itx,&iptt); // Raise PTT
/*
if(ierr<0) { if(ierr<0) {
on_stopTxButton_clicked(); on_stopTxButton_clicked();
char s[18]; char s[18];
sprintf(s,"PTT Error %d",ierr); sprintf(s,"PTT Error %d",ierr);
msgBox(s); msgBox(s);
} }
*/
if(!soundOutThread.isRunning()) { if(!soundOutThread.isRunning()) {
QString t=ui->tx6->text(); QString t=ui->tx6->text();
double snr=t.mid(1,5).toDouble(); double snr=t.mid(1,5).toDouble();
@ -1121,11 +1123,13 @@ void MainWindow::guiUpdate()
if(nc0 == 0) { if(nc0 == 0) {
int itx=0; int itx=0;
int ierr=ptt(m_pttPort,itx,&iptt); // Lower PTT int ierr=ptt(m_pttPort,itx,&iptt); // Lower PTT
/*
if(ierr<0) { if(ierr<0) {
char s[18]; char s[18];
sprintf(s,"PTT Error %d",ierr); sprintf(s,"PTT Error %d",ierr);
msgBox(s); msgBox(s);
} }
*/
if(!m_txMute) soundOutThread.quitExecution=true; if(!m_txMute) soundOutThread.quitExecution=true;
m_transmitting=false; m_transmitting=false;
if(m_auto) { if(m_auto) {