Changeset 11130 in ntrip for trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
- Timestamp:
- Oct 28, 2026, 9:32:30 AM (9 days ago)
- File:
-
- 1 edited
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r11124 r11130 39 39 * -----------------------------------------------------------------------*/ 40 40 41 #include <atomic> 41 42 #include <iostream> 42 43 #include <iomanip> … … 241 242 /** 242 243 * Frequency numbers of GLONASS with an offset of 100 to detect unset values. 243 * Gets filled by ephemeris and data blocks and shared between different streams. 244 * Gets filled by ephemeris and data blocks and shared between different streams 245 * (MSM4/6 streams without channel numbers use those of an ephemeris stream). 246 * Atomic, as the streams are decoded in different threads. 244 247 */ 245 static intGLOFreq[RTCM3_MSM_NUMSAT];248 static std::atomic<int> GLOFreq[RTCM3_MSM_NUMSAT]; 246 249 247 250 /* … … 1998 2001 GETSTRING(antnum, antenna) 1999 2002 if ((antnum > -1 && antnum < 265) && 2000 (_antType.empty() || strncmp(_antType.back()._descriptor, antenna, recnum) != 0)) { 2003 (_antType.empty() || int(strlen(_antType.back()._descriptor)) != antnum || 2004 strncmp(_antType.back()._descriptor, antenna, antnum) != 0)) { 2001 2005 _antType.push_back(t_antInfo()); 2002 2006 memcpy(_antType.back()._descriptor, antenna, antnum); … … 2017 2021 GETSTRING(recsernum, recserialnum) 2018 2022 if ((recnum > -1 && recnum < 265) && 2019 (_recType.empty() || strncmp(_recType.back()._descriptor, receiver, recnum) != 0)) { 2023 (_recType.empty() || int(strlen(_recType.back()._descriptor)) != recnum || 2024 strncmp(_recType.back()._descriptor, receiver, recnum) != 0)) { 2020 2025 _recType.push_back(t_recInfo()); 2021 2026 memcpy(_recType.back()._descriptor, receiver, recnum);
Note:
See TracChangeset
for help on using the changeset viewer.
