From 90bdcbe130dbbc9985a7a8477628a4e3532e45f0 Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Sat, 31 Dec 2022 10:44:53 +0000 Subject: 6.0.23.34 --- APRSCode.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'APRSCode.c') diff --git a/APRSCode.c b/APRSCode.c index e48fea7..8d70dd6 100644 --- a/APRSCode.c +++ b/APRSCode.c @@ -4950,7 +4950,7 @@ BOOL DecodeLocationString(UCHAR * Payload, struct STATIONRECORD * Station) if (SymChar == '_') // WX { - if (strlen(Payload) > 50) + if (strlen(Payload) > 30) strcpy(Station->LastWXPacket, Payload); } @@ -5060,6 +5060,10 @@ int DecodeAPRSPayload(char * Payload, struct STATIONRECORD * Station) Station->Object = NULL; + if (strcmp(Station->Callsign, "LA1ZDA-2") == 0) + { + int i = 1; + } switch(*Payload) { case '`': @@ -8627,7 +8631,7 @@ int GetAPRSPageInfo(char * Buffer, double N, double S, double W, double E, int a int KM = DefaultDistKM; char * ptr1; - while (ptr && aprs) + while (ptr && aprs && Len < 240000) { if (ptr->Lat != 0.0 && ptr->Lon != 0.0) { -- cgit v1.2.3