Changeset 9211 in ntrip


Ignore:
Timestamp:
Nov 4, 2020, 3:27:02 PM (4 weeks ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnccore.h

    r8733 r9211  
    5959  QString           confFileName() const {return _confFileName;}
    6060  void              writeRawData(const QByteArray& data, const QByteArray& staID,
    61                                 const QByteArray& format);
     61                                 const QByteArray& format);
    6262  void             initCombination();
    6363  void             stopCombination();
  • trunk/BNC/src/bncgetthread.cpp

    r9191 r9211  
    317317t_irc bncGetThread::initDecoder() {
    318318
     319
     320
    319321  _decoder = 0;
    320322
    321   if (_format.indexOf("RTCM_2") != -1 || _format.indexOf("RTCM2") != -1
    322       || _format.indexOf("RTCM 2") != -1) {
     323  if (_format.indexOf("RTCM_2") != -1 ||
     324      _format.indexOf("RTCM2")  != -1 ||
     325      _format.indexOf("RTCM 2") != -1) {
    323326    emit(newMessage(_staID + ": Get data in RTCM 2.x format", true));
    324327    _decoder = new RTCM2Decoder(_staID.data());
    325   } else if (_format.indexOf("RTCM_3") != -1 || _format.indexOf("RTCM3") != -1
    326       || _format.indexOf("RTCM 3") != -1) {
     328  } else if (_format.indexOf("RTCM_3") != -1 ||
     329      _format.indexOf("RTCM3")  != -1 ||
     330      _format.indexOf("RTCM 3") != -1) {
    327331    emit(newMessage(_staID + ": Get data in RTCM 3.x format", true));
    328332    RTCM3Decoder* newDecoder = new RTCM3Decoder(_staID, _rawFile);
Note: See TracChangeset for help on using the changeset viewer.