diff options
| author | Dave Hibberd <d@vehibberd.com> | 2023-10-10 22:07:04 +0100 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2023-10-10 22:07:04 +0100 |
| commit | 7b2a99c53b210949fb2e993e65b6be66a9cbf7a1 (patch) | |
| tree | e5feda7463d38022eef6eedf032423189e9d3dce /cMain.c | |
| parent | 084ecb74f6007abbb7e1578675964ac9352ef822 (diff) | |
New upstream version 6.0.24.15upstream/6.0.24.15
Diffstat (limited to 'cMain.c')
| -rw-r--r-- | cMain.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -139,6 +139,7 @@ extern BOOL ADIFLogEnabled; extern UCHAR LogDirectory[260];
extern BOOL EventsEnabled;
extern BOOL SaveAPRSMsgs;
+BOOL M0LTEMap = FALSE;
//TNCTABLE DD 0
//NUMBEROFSTREAMS DD 0
@@ -788,6 +789,8 @@ BOOL Start() ADIFLogEnabled = cfg->C_ADIF;
EventsEnabled = cfg->C_EVENTS;
SaveAPRSMsgs = cfg->C_SaveAPRSMsgs;
+ M0LTEMap = cfg->C_M0LTEMap;
+
// Get pointers to PASSWORD and APPL1 commands
@@ -939,7 +942,8 @@ BOOL Start() PORT->QUAL_ADJUST = (UCHAR)PortRec->QUALADJUST;
PORT->DIGIFLAG = PortRec->DIGIFLAG;
- PORT->DIGIPORT = PortRec->DIGIPORT;
+ if (PortRec->DIGIPORT && CanPortDigi(PortRec->DIGIPORT))
+ PORT->DIGIPORT = PortRec->DIGIPORT;
PORT->DIGIMASK = PortRec->DIGIMASK;
PORT->USERS = (UCHAR)PortRec->USERS;
@@ -1074,6 +1078,8 @@ BOOL Start() KISS->KISSCMD = realloc(KISS->KISSCMD, KISS->KISSCMDLEN);
}
+ PORT->SendtoM0LTEMap = PortRec->SendtoM0LTEMap;
+
if (PortRec->BBSFLAG) // Appl 1 not permitted - BBSFLAG=NOBBS
PORT->PERMITTEDAPPLS &= 0xfffffffe; // Clear bottom bit
@@ -2075,7 +2081,6 @@ VOID TIMERINTERRUPT() L3FastTimer();
L4TimerProc();
-
}
// SEE IF ANY FRAMES TO TRACE
|
