diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-10-11 15:37:11 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-10-11 15:37:11 +0100 |
| commit | eb0d36d3f67be13de74023adb6d30362d47805fe (patch) | |
| tree | ccf33618ee66710ce3b3a84108d125e15e07b8dc /cMain.c | |
| parent | 6dfe32758e1a995b1241af8c981798c22cd70439 (diff) | |
New upstream version 6.0.24.45upstream/6.0.24.45
Diffstat (limited to 'cMain.c')
| -rw-r--r-- | cMain.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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
|
