Changeset 1506 in ntrip


Ignore:
Timestamp:
Jan 19, 2009, 1:43:06 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnc.pro

    r1500 r1506  
    22# Switch to debug configuration
    33# -----------------------------
    4 CONFIG -= release
    5 CONFIG += debug
     4CONFIG -= debug
     5CONFIG += release
    66
    77DEFINES += NO_RTCM3_MAIN
  • trunk/BNC/bncutils.cpp

    r1387 r1506  
    151151  ss=(double)ttime.second()+0.001*ttime.msec();
    152152  QString gga;
    153   gga += "$GPGGA,";
     153  gga += "GPGGA,";
    154154  gga += QString("%1%2%3,").arg((int)hh, 2, 10, QLatin1Char('0')).arg((int)mm, 2, 10, QLatin1Char('0')).arg((int)ss, 2, 10, QLatin1Char('0'));
    155155  gga += QString("%1%2,").arg((int)lat_deg,2, 10, QLatin1Char('0')).arg(lat_min, 7, 'f', 4, QLatin1Char('0'));
     
    164164    XOR ^= (char)Buff[xori];
    165165  }
    166   gga += QString("*%1").arg(XOR, 2, 16, QLatin1Char('0'));
     166  gga = "$" + gga + QString("*%1").arg(XOR, 2, 16, QLatin1Char('0'));
    167167
    168168  return gga.toAscii();
Note: See TracChangeset for help on using the changeset viewer.