Changeset 8976 in ntrip for trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_rtcm.c
- Timestamp:
- Jul 18, 2020, 10:46:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_rtcm.c
r8974 r8976 820 820 for (d = o; d <= v->Layers[l].Degree; ++d) { 821 821 G_IONO_COEFF(v->Layers[l].Cosinus[d][o]) 822 823 fprintf(stderr, "C[% d][%d] %8.3f \n",822 #ifdef BNC_DEBUG 823 fprintf(stderr, "C[%02d][%02d] %8.3f \n", 824 824 d, o, v->Layers[l].Cosinus[d][o]); 825 825 #endif … … 830 830 G_IONO_COEFF(v->Layers[l].Sinus[d][o]) 831 831 #ifdef BNC_DEBUG 832 fprintf(stderr, "S[% d][%d] %8.3f \n",832 fprintf(stderr, "S[%02d][%02d] %8.3f \n", 833 833 d, o, v->Layers[l].Sinus[d][o]); 834 834 #endif … … 837 837 } 838 838 #ifdef BNC_DEBUG 839 for(type = 0; type < ( int)size && (unsigned char)buffer[type] != 0xD3; ++type)839 for(type = 0; type < (unsigned int)size && (unsigned char)buffer[type] != 0xD3; ++type) 840 840 numbits += 8; 841 841 fprintf(stderr, "numbits left %d\n",numbits); … … 915 915 G_PHASE_BIAS(pb->Sat[pos].Biases[j].Bias) 916 916 #ifdef BNC_DEBUG 917 fprintf(stderr, "t% d int %d wl %d disc %d b %8.4f ",917 fprintf(stderr, "t%02d int %d wl %d disc %d b %8.4f ", 918 918 pb->Sat[pos].Biases[j].Type, 919 919 pb->Sat[pos].Biases[j].SignalIntegerIndicator, … … 1017 1017 G_DELTA_DOT_CROSS_TRACK(co->Sat[pos].Orbit.DotDeltaCrossTrack) 1018 1018 #ifdef BNC_DEBUG 1019 fprintf(stderr, "id %2d iod %3d dr %8. 3f da %8.3f dc %8.3f dr %8.3f da %8.3f dc %8.3f\n",1019 fprintf(stderr, "id %2d iod %3d dr %8.4f da %8.4f dc %8.4f dr %8.3f da %8.3f dc %8.3f\n", 1020 1020 co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial, 1021 1021 co->Sat[pos].Orbit.DeltaAlongTrack,co->Sat[pos].Orbit.DeltaCrossTrack, … … 1174 1174 G_DELTA_CLOCK_C2(co->Sat[pos].Clock.DeltaA2) 1175 1175 #ifdef BNC_DEBUG 1176 fprintf(stderr, "id %2d iod %3d dr % 8.4f da %8.4f dc %8.4f dr %8.3f da %8.3f dc %8.3f c0 %8.3f c1 %8.3f c2 %8.3f\n",1176 fprintf(stderr, "id %2d iod %3d dr %10.6f da %10.6f dc %10.6f dr %10.6f da %10.6f dc %10.6f c0 %10.6f c1 %10.6f c2 %10.6f\n", 1177 1177 co->Sat[pos].ID,co->Sat[pos].IOD,co->Sat[pos].Orbit.DeltaRadial, 1178 1178 co->Sat[pos].Orbit.DeltaAlongTrack,co->Sat[pos].Orbit.DeltaCrossTrack, … … 1353 1353 b->Sat[pos].ID = id; 1354 1354 G_NO_OF_CODE_BIASES(b->Sat[pos].NumberOfCodeBiases) 1355 1355 #ifdef BNC_DEBUG 1356 1356 fprintf(stderr, "id %2d #%d ", 1357 1357 b->Sat[pos].ID, b->Sat[pos].NumberOfCodeBiases); … … 1361 1361 G_CODE_BIAS(b->Sat[pos].Biases[j].Bias) 1362 1362 #ifdef BNC_DEBUG 1363 fprintf(stderr, "t% d b %8.2f ",1363 fprintf(stderr, "t%02d b %8.2f ", 1364 1364 b->Sat[pos].Biases[j].Type, b->Sat[pos].Biases[j].Bias); 1365 1365 #endif … … 1374 1374 } 1375 1375 #ifdef BNC_DEBUG 1376 for(type = 0; type < ( int)size && (unsigned char)buffer[type] != 0xD3; ++type)1376 for(type = 0; type < (unsigned int)size && (unsigned char)buffer[type] != 0xD3; ++type) 1377 1377 numbits += 8; 1378 1378 fprintf(stderr, "numbits left %d\n",numbits);
Note:
See TracChangeset
for help on using the changeset viewer.