summaryrefslogtreecommitdiff
path: root/SerialPort.c
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2023-05-25 14:17:53 +0100
committerJohn Wiseman <john.wiseman@cantab.net>2023-05-25 14:17:53 +0100
commit4924c1223ef5e47353ef34892b732c2081096427 (patch)
treebfc0e3c6ef678127d747e47431d4054b73ed160d /SerialPort.c
parentac7e6b99beace1e002246436175581d01b02a117 (diff)
6.0.23.7023.71
Diffstat (limited to 'SerialPort.c')
-rw-r--r--SerialPort.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/SerialPort.c b/SerialPort.c
index 02afba7..713ab4e 100644
--- a/SerialPort.c
+++ b/SerialPort.c
@@ -70,13 +70,11 @@ static int RigControlRow = 165;
#include <commctrl.h>
#endif
-extern char * PortConfig[33];
+
extern int SemHeldByAPI;
static RECT Rect;
-extern struct TNCINFO * TNCInfo[41]; // Records are Malloc'd
-
static int ProcessLine(char * buf, int Port);
VOID WritetoTrace(struct TNCINFO * TNC, char * Msg, int Len);
@@ -184,14 +182,8 @@ VOID SuspendOtherPorts(struct TNCINFO * ThisTNC);
VOID ReleaseOtherPorts(struct TNCINFO * ThisTNC);
VOID WritetoTrace(struct TNCINFO * TNC, char * Msg, int Len);
-
-
-#define MAXBPQPORTS 32
-
static time_t ltime;
-
-
static VOID SendToTNC(struct TNCINFO * TNC, int Stream, UCHAR * Encoded, int EncLen)
{
if (TNC->hDevice)