From e11daa157c1809a9df3f71e204c9e5296db6c2e5 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 22 Nov 2020 09:39:49 -0500 Subject: [PATCH] adding APRS string to tlm --- afsk/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/afsk/main.c b/afsk/main.c index c733d996..9f92420b 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -670,8 +670,9 @@ for (int j = 0; j < frameCnt; j++) { strcat(str, call); strcat(str, header_str2); - sprintf(header_str2b, "%7.2f%c%c%7.2f%cShi hi",4003.79,'N',0x5C,07534.33,'W'); // add APRS latt and long + sprintf(header_str2b, "=%7.2f%c%c%08.2f%cShi hi",4003.79,'N','\',07534.33,'W'); // add APRS latt and long printf("\n\nString is %s \n\n", header_str2b); + strcat(str, header_str2b); } else { strcat(str, header_str4);