- Timestamp:
- Dec 20, 2008, 5:18:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r1310 r1318 59 59 #include "RTIGS/RTIGSDecoder.h" 60 60 #include "GPSS/gpssDecoder.h" 61 #include "serial/qextserialport.h" 61 62 62 63 using namespace std; … … 190 191 connect(((bncApp*)qApp), SIGNAL(newEphGPS(gpsephemeris)), 191 192 this, SLOT(slotNewEphGPS(gpsephemeris))); 193 194 if (settings.value("serial_staID").toString() == _staID) { 195 _serialPort = new QextSerialPort(); 196 _serialPort->open(); 197 } 198 else { 199 _serialPort = 0; 200 } 192 201 193 202 // Raw Output … … 551 560 _rawOutFile->write(data, nBytes); 552 561 _rawOutFile->flush(); 562 } 563 564 if (_serialPort) { 565 _serialPort->write(data, nBytes); 553 566 } 554 567
Note:
See TracChangeset
for help on using the changeset viewer.