Changeset 8373 in ntrip for branches/BNC_2.12/src/GPSDecoder.cpp
- Timestamp:
- Jun 13, 2018, 2:46:20 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/GPSDecoder.cpp
r6448 r8373 45 45 #include "bncsettings.h" 46 46 #include "bncrinex.h" 47 #include "bncutils.h" 47 48 48 49 using namespace std; … … 80 81 void GPSDecoder::dumpRinexEpoch(const t_satObs& obs, const QByteArray& format) { 81 82 if (_rnx) { 82 long iSec = long(floor(obs._time.gpssec()+0.5));83 if (_rnx->samplingRate() == 0 || iSec % _rnx->samplingRate() == 0) {83 int sec = int(nint(obs._time.gpssec()*10)); 84 if (_rnx->samplingRate() == 0 || sec % (_rnx->samplingRate()*10) == 0) { 84 85 _rnx->deepCopy(obs); 85 86 }
Note:
See TracChangeset
for help on using the changeset viewer.