Changeset 8092 in ntrip


Ignore:
Timestamp:
Apr 6, 2017, 5:47:00 PM (7 months ago)
Author:
stuerze
Message:

minor changes to prevent aother crash in ppp mode

File:
1 edited

Legend:

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

    r7964 r8092  
    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.