kopia lustrzana https://github.com/rs1729/RS
MRZ2: calc vV=diff_alt (-vv)
rodzic
a2eb8492c0
commit
4b76ec7408
|
@ -656,8 +656,22 @@ static void print_gpx(gpx_t *gpx, int crcOK) {
|
|||
if ( !ofs_ptucfg ) {
|
||||
printf(" vV: %3.1f ", gpx->vV);
|
||||
}
|
||||
|
||||
if (gpx->option.vbs > 1) printf(" sats: %d ", gpx->numSats);
|
||||
|
||||
if (gpx->option.vbs > 1 && ofs_ptucfg < 0)
|
||||
{
|
||||
static float alt0;
|
||||
static int t0;
|
||||
if (gpx->crcOK && gpx->sec_day > t0) {
|
||||
if (t0 > 0 && gpx->sec_day < t0+10) {
|
||||
printf(" (d_alt: %+4.1f) ", (gpx->alt - alt0)/(float)(gpx->sec_day - t0) );
|
||||
}
|
||||
alt0 = gpx->alt;
|
||||
t0 = gpx->sec_day;
|
||||
}
|
||||
}
|
||||
|
||||
if (gpx->option.ptu) {
|
||||
if (gpx->T > -273.0f || gpx->RH > -0.5f) printf(" ");
|
||||
if (gpx->T > -273.0f) printf(" T=%.2fC", gpx->T);
|
||||
|
|
Ładowanie…
Reference in New Issue