- Timestamp:
- Jan 19, 2009, 1:43:06 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnc.pro
r1500 r1506 2 2 # Switch to debug configuration 3 3 # ----------------------------- 4 CONFIG -= release5 CONFIG += debug4 CONFIG -= debug 5 CONFIG += release 6 6 7 7 DEFINES += NO_RTCM3_MAIN -
trunk/BNC/bncutils.cpp
r1387 r1506 151 151 ss=(double)ttime.second()+0.001*ttime.msec(); 152 152 QString gga; 153 gga += " $GPGGA,";153 gga += "GPGGA,"; 154 154 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')); 155 155 gga += QString("%1%2,").arg((int)lat_deg,2, 10, QLatin1Char('0')).arg(lat_min, 7, 'f', 4, QLatin1Char('0')); … … 164 164 XOR ^= (char)Buff[xori]; 165 165 } 166 gga +=QString("*%1").arg(XOR, 2, 16, QLatin1Char('0'));166 gga = "$" + gga + QString("*%1").arg(XOR, 2, 16, QLatin1Char('0')); 167 167 168 168 return gga.toAscii();
Note:
See TracChangeset
for help on using the changeset viewer.