Changeset 10078 in ntrip


Ignore:
Timestamp:
May 24, 2023, 11:08:51 AM (17 months ago)
Author:
stuerze
Message:

check regarding current time added in combination

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.cpp

    r10077 r10078  
    447447    char sys = newClk->_prn.system();
    448448    if (!_cmbSysPrn.contains(sys)){
     449      delete newClk;
     450      continue;
     451    }
     452
     453    // Check regarding current time
     454    // ----------------------------
     455    int    currentWeek = 0;
     456    double currentSec  = 0.0;
     457    currentGPSWeeks(currentWeek, currentSec);
     458    bncTime currentTime(currentWeek, currentSec);
     459    if (newClk->_time >= currentTime) {
    449460      delete newClk;
    450461      continue;
Note: See TracChangeset for help on using the changeset viewer.