From 0942cb0b7f232b07dc9e76e1e8d061acce7bc44d Mon Sep 17 00:00:00 2001 From: Roman Ludwicki Date: Thu, 9 Jun 2022 02:58:07 +0200 Subject: [PATCH] Use the correct GUI members for the Data Distribution Service example --- examples/dds/fgfdm_log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/dds/fgfdm_log.c b/examples/dds/fgfdm_log.c index f98babd23..1b749aa1f 100644 --- a/examples/dds/fgfdm_log.c +++ b/examples/dds/fgfdm_log.c @@ -162,9 +162,9 @@ int main() printf("=== [fgfdm_log] Received : "); printf("GUI Message:\n"); printf(" version: %i\n", gui->version); - printf(" tuned_freq: %lf\n", gui->longitude); - printf(" nav_radial: %lf\n", gui->latitude); - printf(" dist_nm: %lf\n", gui->altitude); + printf(" tuned_freq: %lf\n", gui->tuned_freq); + printf(" nav_radial: %lf\n", gui->nav_radial); + printf(" dist_nm: %lf\n", gui->dist_nm); } rc = dds_take(fdm_reader, samples, infos, 1, 1);