summaryrefslogtreecommitdiff
path: root/APRSCode.c
diff options
context:
space:
mode:
Diffstat (limited to 'APRSCode.c')
-rw-r--r--APRSCode.c8
1 files changed, 6 insertions, 2 deletions
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)
{