X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=aoview%2Faoview_state.c;h=7efd33b0ebf5a62942a00a88e520c96c9b8d18f4;hp=9852cabd257633687bbe691ce2db0a64fcca86ab;hb=8ddf3345afd8cbf638e81993633f7861d8dbca63;hpb=fbcb7b20fa701a6e534d38e307839466545668e3 diff --git a/aoview/aoview_state.c b/aoview/aoview_state.c index 9852cabd..7efd33b0 100644 --- a/aoview/aoview_state.c +++ b/aoview/aoview_state.c @@ -251,7 +251,7 @@ aoview_state_timeout(gpointer data) aoview_voice_speak("rocket landed safely\n"); else aoview_voice_speak("rocket may have crashed\n"); - if (aostate.gps.gps_connected) { + if (aostate.gps_valid) { aoview_voice_speak("rocket reported %s of pad distance %d meters\n", aoview_compass_point(aostate.bearing), (int) aostate.distance);