Changeset 4551 in ntrip for trunk/BNC/src/bncfigureppp.cpp


Ignore:
Timestamp:
Aug 22, 2012, 11:11:22 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncfigureppp.cpp

    r4550 r4551  
    9090    }
    9191  else {
    92     _pppAudioResponse = 1e7;
     92    _pppAudioResponse = 0.0;
    9393  }
    9494
     
    212212        // Audio response
    213213        // --------------
    214         if ( ii == _pos.size() -1) {
    215           if (fabs(neu[ii-1][0]) > _pppAudioResponse || fabs(neu[ii-1][1]) > _pppAudioResponse) {
    216           QApplication::beep();
     214        if ( ii == _pos.size()-1) {
     215          if ( _pppAudioResponse > 0.0 &&
     216               (fabs(neu[ii-1][0]) > _pppAudioResponse ||
     217                fabs(neu[ii-1][1]) > _pppAudioResponse) ) {
     218            QApplication::beep();
    217219          }
    218220        }
Note: See TracChangeset for help on using the changeset viewer.