Changeset 1838 in ntrip for trunk/BNS/bns.cpp


Ignore:
Timestamp:
May 8, 2009, 1:23:00 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r1803 r1838  
    2424#include "bnssp3.h"
    2525#include "bnssettings.h"
     26extern "C" {
     27#include "RTCM/rtcm3torinex.h"
     28}
    2629
    2730using namespace std;
     31
     32// Error Handling
     33////////////////////////////////////////////////////////////////////////////
     34void RTCM3Error(const char*, ...) {
     35}
    2836
    2937// Constructor
     
    381389        memset(&co, 0, sizeof(co));
    382390        co.GPSEpochTime      = (int)GPSweeks;
    383         co.GLONASSEpochTime  = (int)fmod(GPSweeks, 86400.0);
     391        co.GLONASSEpochTime  = (int)fmod(GPSweeks, 86400.0)
     392                             + 3 * 3600 - gnumleap(year, month, day);
    384393        co.ClockDataSupplied = 1;
    385394        co.OrbitDataSupplied = 1;
Note: See TracChangeset for help on using the changeset viewer.