Changeset 5359 in ntrip for trunk/rtcm3torinex
- Timestamp:
- Aug 26, 2013, 10:58:35 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtcm3torinex/lib/rtcm3torinex.c
r5358 r5359 2179 2179 if(Parser->rinex3) 2180 2180 { 2181 #define CHECKFLAGSNEW(a, b, c) \ 2182 if(Parser->allflags & GNSSDF_##b##DATA) \ 2183 { \ 2184 Parser->info[RTCM3_MSM_##a].flags[Parser->info[RTCM3_MSM_GPS].numtypes] = GNSSDF_##b##DATA; \ 2185 Parser->info[RTCM3_MSM_##a].pos[Parser->info[RTCM3_MSM_GPS].numtypes] = GNSSENTRY_##b##DATA; \ 2186 ++Parser->info[RTCM3_MSM_##a].numtypes; \ 2187 } 2188 2181 int flags = Parser->allflags; 2189 2182 CHECKFLAGSNEW(GPS, C1, C1C) 2190 2183 CHECKFLAGSNEW(GPS, L1C, L1C) … … 2222 2215 else 2223 2216 { 2224 #define CHECKFLAGS(a, b) \ 2225 if(Parser->allflags & GNSSDF_##a##DATA) \ 2226 { \ 2227 if(data[RINEXENTRY_##b##DATA]) \ 2228 { \ 2229 Parser->info[RTCM3_MSM_GPS].flags[data[RINEXENTRY_##b##DATA]-1] = GNSSDF_##a##DATA; \ 2230 Parser->info[RTCM3_MSM_GPS].pos[data[RINEXENTRY_##b##DATA]-1] = GNSSENTRY_##a##DATA; \ 2231 } \ 2232 else \ 2233 { \ 2234 Parser->flags[Parser->info[RTCM3_MSM_GPS].numtypes] = GNSSDF_##a##DATA; \ 2235 Parser->pos[Parser->info[RTCM3_MSM_GPS].numtypes] = GNSSENTRY_##a##DATA; \ 2236 data[RINEXENTRY_##b##DATA] = ++Parser->info[RTCM3_MSM_GPS].numtypes; \ 2237 } \ 2238 } 2239 2217 int flags = Parser->allflags; 2240 2218 int data[RINEXENTRY_NUMBER]; 2241 2219 for(i = 0; i < RINEXENTRY_NUMBER; ++i) data[i] = 0;
Note:
See TracChangeset
for help on using the changeset viewer.