Ignore:
Timestamp:
Dec 10, 2020, 3:39:36 PM (3 years ago)
Author:
stuerze
Message:

bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3Decoder.cpp

    r9285 r9306  
    17491749        if (!_coDecoders.contains(_staID.toLatin1())) {
    17501750          _coDecoders[_staID.toLatin1()] = new RTCM3coDecoder(_staID);
     1751          if (id == 4076) {
     1752            _coDecoders[_staID.toLatin1()]->initSsrFormatType(RTCM3coDecoder::IGSssr);
     1753          }
     1754          else {
     1755            _coDecoders[_staID.toLatin1()]->initSsrFormatType(RTCM3coDecoder::RTCMssr);
     1756          }
    17511757        }
    17521758        RTCM3coDecoder* coDecoder = _coDecoders[_staID.toLatin1()];
    1753         if (id == 4076) {
    1754           coDecoder->setSsrFormatType(RTCM3coDecoder::IGSssr);
    1755         }
    1756         else {
    1757           coDecoder->setSsrFormatType(RTCM3coDecoder::RTCMssr);
    1758         }
    17591759        if (coDecoder->Decode(reinterpret_cast<char *>(_Message), _BlockSize, errmsg) == success) {
    17601760          decoded = true;
Note: See TracChangeset for help on using the changeset viewer.