Changeset 4009 in ntrip


Ignore:
Timestamp:
Apr 22, 2012, 12:18:40 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/reqcedit.cpp

    r4007 r4009  
    248248  // ---------------------------------
    249249  t_rnxNavFile outNavFile(_outNavFileName, t_rnxNavFile::output);
    250  
     250  outNavFile.setVersion(_rnxVersion);
     251  outNavFile.writeHeader();
     252
    251253  // Loop over all ephemerides
    252254  // -------------------------
    253255  for (int ii = 0; ii < _ephs.size(); ii++) {
    254256    const t_eph* eph = _ephs[ii];
    255     if (ii == 0) {
    256       outNavFile.writeHeader();
    257     }
    258257    outNavFile.writeEph(eph);
    259258  }
Note: See TracChangeset for help on using the changeset viewer.