Changeset 2709 in ntrip for trunk/BNC/bncpppclient.cpp


Ignore:
Timestamp:
Nov 18, 2010, 12:28:40 PM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.cpp

    r2702 r2709  
    119119//
    120120////////////////////////////////////////////////////////////////////////////
    121 void bncPPPclient::putNewObs(p_obs pObs) {
     121void bncPPPclient::putNewObs(p_obs obs) {
    122122  QMutexLocker locker(&_mutex);
    123 
    124   t_obsInternal* obs = &(pObs->_o);
    125123
    126124  if (obs->satSys != 'G' && !_useGlonass) {
     
    206204  // Set Phase Observations
    207205  // ---------------------- 
    208   if (pObs->L1() && pObs->L2()) {
    209     satData->L1 = pObs->L1() * t_CST::c / f1;
    210     satData->L2 = pObs->L2() * t_CST::c / f2;
     206  if (obs->L1() && obs->L2()) {
     207    satData->L1 = obs->L1() * t_CST::c / f1;
     208    satData->L2 = obs->L2() * t_CST::c / f2;
    211209  }
    212210  else {
Note: See TracChangeset for help on using the changeset viewer.