diff -uprN orig/rtcm3torinex.c new/rtcm3torinex.c
old
|
new
|
void HandleHeader(struct RTCM3ParserData
|
925 | 925 | { |
926 | 926 | #ifdef NO_RTCM3_MAIN |
927 | 927 | int i; |
| 928 | if(Parser->allflags == 0) |
| 929 | Parser->allflags = ~0; |
928 | 930 | if(Parser->rinex3) |
929 | 931 | { |
930 | 932 | #define CHECKFLAGSNEW(a, b, c) \ |
| 933 | if(Parser->allflags & GNSSDF_##b##DATA) \ |
931 | 934 | { \ |
932 | 935 | Parser->dataflag##a[Parser->numdatatypes##a] = GNSSDF_##b##DATA; \ |
933 | 936 | Parser->datapos##a[Parser->numdatatypes##a] = GNSSENTRY_##b##DATA; \ |
… |
… |
void HandleHeader(struct RTCM3ParserData
|
970 | 973 | else |
971 | 974 | { |
972 | 975 | #define CHECKFLAGS(a, b) \ |
| 976 | if(Parser->allflags & GNSSDF_##a##DATA) \ |
973 | 977 | { \ |
974 | 978 | if(data[RINEXENTRY_##b##DATA]) \ |
975 | 979 | { \ |
diff -uprN orig/rtcm3torinex.h new/rtcm3torinex.h
old
|
new
|
struct RTCM3ParserData {
|
219 | 219 | double antH; |
220 | 220 | char antenna[256+1]; |
221 | 221 | int blocktype; |
| 222 | int allflags; |
222 | 223 | #endif /* NO_RTCM3_MAIN */ |
223 | 224 | int datapos[RINEXENTRY_NUMBER]; |
224 | 225 | int dataflag[RINEXENTRY_NUMBER]; |