Changeset 8093 in ntrip


Ignore:
Timestamp:
Apr 6, 2017, 5:49:02 PM (8 years ago)
Author:
stuerze
Message:

minor changes to prevent aother crash in ppp mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/pppMain.cpp

    r7965 r8093  
    153153    opt->_realTime     = _realTime;
    154154    opt->_roverName    = hlp[0].toStdString();
    155     opt->_aprSigCrd[0] = hlp[1].toDouble();
    156     opt->_aprSigCrd[1] = hlp[2].toDouble();
    157     opt->_aprSigCrd[2] = hlp[3].toDouble();
    158     opt->_noiseCrd[0]  = hlp[4].toDouble();
    159     opt->_noiseCrd[1]  = hlp[5].toDouble();
    160     opt->_noiseCrd[2]  = hlp[6].toDouble();
     155    opt->_aprSigCrd[0] = hlp[1].toDouble()+1e-300;
     156    opt->_aprSigCrd[1] = hlp[2].toDouble()+1e-300;
     157    opt->_aprSigCrd[2] = hlp[3].toDouble()+1e-300;
     158    opt->_noiseCrd[0]  = hlp[4].toDouble()+1e-300;
     159    opt->_noiseCrd[1]  = hlp[5].toDouble()+1e-300;
     160    opt->_noiseCrd[2]  = hlp[6].toDouble()+1e-300;
    161161    opt->_aprSigTrp    = hlp[7].toDouble();
    162162    opt->_noiseTrp     = hlp[8].toDouble();
Note: See TracChangeset for help on using the changeset viewer.