X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ao-tools%2Fao-telem%2Fao-telem.c;h=02d53ff32cacf571bb0e25474cb27ed3227cc895;hb=56767df42a2582c9663554f27b354c2b9c180119;hp=ee60712c40f6c969fde407bf2f27e97bd43d3217;hpb=4a47071b7f23874ca3d889ba18cd218d6445df29;p=fw%2Faltos diff --git a/ao-tools/ao-telem/ao-telem.c b/ao-tools/ao-telem/ao-telem.c index ee60712c..02d53ff3 100644 --- a/ao-tools/ao-telem/ao-telem.c +++ b/ao-tools/ao-telem/ao-telem.c @@ -115,7 +115,7 @@ main (int argc, char **argv) (telem.location.flags & (1 << 6)) ? ",date" : "", (telem.location.flags & (1 << 7)) ? ",course" : ""); printf (" alt %5d lat %12.7f lon %12.7f", - telem.location.altitude, + AO_TELEMETRY_LOCATION_ALTITUDE(&telem.location), telem.location.latitude / 1e7, telem.location.longitude / 1e7); if ((telem.location.flags & (1 << 6)) != 0) {