diff options
| author | John Wiseman <john.wiseman@cantab.net> | 2022-12-31 10:44:53 +0000 |
|---|---|---|
| committer | John Wiseman <john.wiseman@cantab.net> | 2022-12-31 10:44:53 +0000 |
| commit | 90bdcbe130dbbc9985a7a8477628a4e3532e45f0 (patch) | |
| tree | 1b751234609ae587e93078af8f43673d7960a048 /APRSCode.c | |
| parent | ebc845ec8c8ed630f77205fbad9a19174e93785a (diff) | |
6.0.23.3423.36
Diffstat (limited to 'APRSCode.c')
| -rw-r--r-- | APRSCode.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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)
{
|
