diff options
Diffstat (limited to 'SCSTracker.c')
| -rw-r--r-- | SCSTracker.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/SCSTracker.c b/SCSTracker.c index 5cc106f..41d26a9 100644 --- a/SCSTracker.c +++ b/SCSTracker.c @@ -666,7 +666,8 @@ void * TrackerExtInit(EXTPORTDATA * PortEntry) }
TNC->Port = port;
- TNC->Hardware = H_TRK;
+ TNC->PortRecord = PortEntry;
+ TNC->PortRecord->PORTCONTROL.HWType = TNC->Hardware = H_TRK;
// Set up DED addresses for streams
@@ -682,8 +683,6 @@ void * TrackerExtInit(EXTPORTDATA * PortEntry) PortEntry->PERMITGATEWAY = TRUE; // Can change ax.25 call on each stream
PortEntry->SCANCAPABILITIES = NONE; // Scan Control 3 stage/conlock
- TNC->PortRecord = PortEntry;
-
if (PortEntry->PORTCONTROL.PORTCALL[0] == 0)
memcpy(TNC->NodeCall, MYNODECALL, 10);
else
|
