- Timestamp:
- Nov 25, 2009, 6:59:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppthread.cpp
r2024 r2026 109 109 QMutexLocker locker(&_mutex); 110 110 QListIterator<p_obs> it(obsList); 111 112 delete _data; 113 _data = new t_data(); 114 111 115 while (it.hasNext()) { 112 116 p_obs pp = it.next(); … … 114 118 QByteArray staID = QByteArray(obs->StatID); 115 119 if (staID == _staID) { 116 if (!_data) { 117 _data = new t_data(); 118 _data->GPSWeek = obs->GPSWeek; 119 _data->GPSWeeks = obs->GPSWeeks; 120 } 120 _data->GPSWeek = obs->GPSWeek; 121 _data->GPSWeeks = obs->GPSWeeks; 122 121 123 ++_data->numSat; 122 124 _data->prn[_data->numSat] =
Note:
See TracChangeset
for help on using the changeset viewer.