summaryrefslogtreecommitdiff
path: root/cMain.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-10-11 15:42:00 +0100
committerDave Hibberd <hibby@debian.org>2024-10-11 15:42:00 +0100
commitf527c60884771102fa4cc94096e1c253cace5997 (patch)
tree6633bb3c2ea7442d17c0c3c64a5327e214e3ae6e /cMain.c
parentba9f74d1b8b94f7c5ee99e863f72aa33fb70ae6f (diff)
parent3de6b0150f1b06256a0ee3ce9a8ba529a5d306e8 (diff)
Merge branch 'debian/latest' into hibbian/latest
Diffstat (limited to 'cMain.c')
-rw-r--r--cMain.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/cMain.c b/cMain.c
index eb529f6..b2cc48d 100644
--- a/cMain.c
+++ b/cMain.c
@@ -46,6 +46,8 @@ int upnpInit();
void AISTimer();
void ADSBTimer();
VOID SendSmartID(struct PORTCONTROL * PORT);
+int CanPortDigi(int Port);
+int KissEncode(UCHAR * inbuff, UCHAR * outbuff, int len);
#include "configstructs.h"
@@ -368,7 +370,8 @@ VOID EXTTX(PEXTPORTDATA PORTVEC, MESSAGE * Buffer)
if (LINK->L2TIMER)
LINK->L2TIMER = LINK->L2TIME;
- Buffer->Linkptr = 0; // CLEAR FLAG FROM BUFFER
+ if (PORT->TNC == 0 || PORT->TNC->Hardware != H_KISSHF)
+ Buffer->Linkptr = 0; // CLEAR FLAG FROM BUFFER
}
PORTVEC->PORT_EXT_ADDR(2, PORT->PORTNUMBER, Buffer);
@@ -1081,6 +1084,10 @@ BOOL Start()
PORT->SendtoM0LTEMap = PortRec->SendtoM0LTEMap;
PORT->PortFreq = PortRec->PortFreq;
+ PORT->M0LTEMapInfo = PortRec->M0LTEMapInfo;
+
+ PORT->QtSMPort = PortRec->QtSMPort;
+
if (PortRec->BBSFLAG) // Appl 1 not permitted - BBSFLAG=NOBBS
PORT->PERMITTEDAPPLS &= 0xfffffffe; // Clear bottom bit