From 7d2c4186b5fb45f0dec4aa82670c0e1c2065df3e Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 12 Jul 2021 18:36:17 -0400 Subject: [PATCH] always generate gps_str --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 422ea153..ba3abaa0 100644 --- a/main.c +++ b/main.c @@ -928,11 +928,11 @@ void get_tlm(void) { printf("GPS Data: %f, %f, %f \n", lat_gps, lon_gps, alt_gps); pclose(file_gps); - if (lat_gps != 0.0) { +// if (lat_gps != 0.0) { latitude = toAprsFormat(lat_gps); longitude = toAprsFormat(lon_gps); sprintf(gps_str, "%7.4f %7.4f %7.1f", lat_gps, lon_gps, alt_gps); - } +// } // printf("Str: %s \n", str); if (mode != CW) {