From a684b6ad85261d0e24e03489727f45dc106813cd Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 6 Mar 2022 11:51:13 -0500 Subject: [PATCH] fixed sprintf --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index a6de01a1..b0d98474 100644 --- a/main.c +++ b/main.c @@ -950,7 +950,7 @@ void get_tlm(void) { sprintf(header_str2b, "=%s%c%sShi hi ", header_lat, 0x5c, header_long); // add APRS lat and long else // sprintf(header_str2b, "=%s%c%c%sShi hi ", header_lat, 0x5c, 0x5c, header_long); // add APRS lat and long - sprintf(header_str2b, "=%s%c%c%sOhi hi ", header_lat, "/", header_long); // add APRS lat and long + sprintf(header_str2b, "=%s/%sOhi hi ", header_lat, header_long); // add APRS lat and long printf("\n\nAPRS string is %s \n\n", header_str2b); strcat(str, header_str2b); } else {