- Timestamp:
- Oct 7, 2012, 9:38:18 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r4542 r4753 261 261 bias.GLONASSEpochTime = co.GLONASSEpochTime; 262 262 263 // Default Update Interval 264 // ----------------------- 265 int clkUpdInterval = 5; 266 int ephUpdInterval = (_samplRtcmEphCorr != 0.0 ? int(_samplRtcmEphCorr) : 5); 267 268 co.UpdateInterval = clkUpdInterval; 269 bias.UpdateInterval = clkUpdInterval; 270 263 271 for (int ii = 1; ii < lines.size(); ii++) { 264 272 … … 401 409 char obuffer[CLOCKORBIT_BUFFERSIZE]; 402 410 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 411 co.UpdateInterval = ephUpdInterval; 403 412 int len1 = MakeClockOrbit(&co, COTYPE_GPSORBIT, 1, obuffer, sizeof(obuffer)); 413 co.UpdateInterval = clkUpdInterval; 404 414 if (len1 > 0) { 405 415 hlpBufferCo += QByteArray(obuffer, len1); … … 415 425 char obuffer[CLOCKORBIT_BUFFERSIZE]; 416 426 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 427 co.UpdateInterval = ephUpdInterval; 417 428 int len1 = MakeClockOrbit(&co, COTYPE_GLONASSORBIT, 1, obuffer, sizeof(obuffer)); 429 co.UpdateInterval = clkUpdInterval; 418 430 if (len1 > 0) { 419 431 hlpBufferCo += QByteArray(obuffer, len1);
Note:
See TracChangeset
for help on using the changeset viewer.