From c858986248f9ee86835be732f413824c0e42d729 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Tue, 25 Feb 2025 09:32:57 +0000 Subject: New upstream version 6.0.24.65+repack --- SerialPort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'SerialPort.c') diff --git a/SerialPort.c b/SerialPort.c index 3cda40e..2df4ed6 100644 --- a/SerialPort.c +++ b/SerialPort.c @@ -770,9 +770,9 @@ VOID * SerialExtInit(EXTPORTDATA * PortEntry) } TNC->Port = port; - TNC->Hardware = H_SERIAL; - TNC->PortRecord = PortEntry; + TNC->PortRecord->PORTCONTROL.HWType = TNC->Hardware = H_SERIAL; + if (PortEntry->PORTCONTROL.PORTCALL[0] == 0) memcpy(TNC->NodeCall, MYNODECALL, 10); -- cgit v1.2.3