diff options
| author | g8bpq <john.wiseman@cantab.net> | 2022-11-14 14:02:28 +0000 |
|---|---|---|
| committer | g8bpq <john.wiseman@cantab.net> | 2022-11-14 14:02:28 +0000 |
| commit | f4bc43f75d0ee3bea207e99f745fb5585b192f48 (patch) | |
| tree | 35b0fe081e832b475b9c9f7f7bee2615567aca9e /APRSCode.c | |
| parent | e3db09d2557584d2026b8801d972390507269714 (diff) | |
6.0.23.26
Diffstat (limited to 'APRSCode.c')
| -rw-r--r-- | APRSCode.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,5 +1,5 @@ /*
-Copyright 2001-2018 John Wiseman G8BPQ
+Copyright 2001-2022 John Wiseman G8BPQ
This file is part of LinBPQ/BPQ32.
@@ -1285,8 +1285,17 @@ Dll VOID APIENTRY Poll_APRS() memcpy(Buffer, Orig, Orig->LENGTH);
Buffer->PORT = toPort;
PORT = GetPortTableEntryFromPortNum(toPort);
+
if (PORT)
+ {
+ if (PORT->SmartIDInterval && PORT->SmartIDNeeded == 0)
+ {
+ // Using Smart ID, but none scheduled
+
+ PORT->SmartIDNeeded = time(NULL) + PORT->SmartIDInterval;
+ }
PUT_ON_PORT_Q(PORT, Buffer);
+ }
else
ReleaseBuffer(Buffer);
}
|
