kopia lustrzana https://github.com/rs1729/RS
Dropsonde RD94: ID, checksums
rodzic
7cdf5b1e35
commit
7901555540
|
@ -731,14 +731,14 @@ void print_frame(int len) {
|
|||
|
||||
//if (len > 2*BITS*(pos_GPSecefV2+12))
|
||||
get_V();
|
||||
if (option_verbose) fprintf(stdout," sats: %d ", gpx.sats1);
|
||||
if (option_verbose) fprintf(stdout," sats: %2d ", gpx.sats1);
|
||||
if (option_verbose == 2) {
|
||||
fprintf(stdout," (%7.2f,%7.2f,%7.2f) ", gpx.vX1, gpx.vY1, gpx.vZ1);
|
||||
}
|
||||
fprintf(stdout," vH: %.1fm/s D: %.1f° vV: %.1fm/s ", gpx.vH, gpx.vD, gpx.vU);
|
||||
if (option_verbose == 2) {
|
||||
fprintf(stdout," (%7.2f,%7.2f,%7.2f) ", gpx.vX2, gpx.vY2, gpx.vZ2);
|
||||
fprintf(stdout," sats: %d ", gpx.sats2);
|
||||
fprintf(stdout," sats: %2d ", gpx.sats2);
|
||||
}
|
||||
|
||||
|
||||
|
@ -760,7 +760,7 @@ void print_frame(int len) {
|
|||
}
|
||||
|
||||
chk = chkFrame();
|
||||
printf(" Check: ");
|
||||
printf(" check[FSGGI]: ");
|
||||
for (i = 0; i < 5; i++) printf("%d", (chk>>i)&1);
|
||||
|
||||
fprintf(stdout, "\n"); // fflush(stdout);
|
||||
|
|
Ładowanie…
Reference in New Issue