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) {
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) {