summaryrefslogtreecommitdiff
path: root/SCSTracker.c
diff options
context:
space:
mode:
Diffstat (limited to 'SCSTracker.c')
-rw-r--r--SCSTracker.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/SCSTracker.c b/SCSTracker.c
index 8ca38b4..caa6b0e 100644
--- a/SCSTracker.c
+++ b/SCSTracker.c
@@ -108,7 +108,7 @@ BOOL TrkWriteCommBlock(struct TNCINFO * TNC)
}
-VOID TRKSuspendPort(struct TNCINFO * TNC)
+VOID TRKSuspendPort(struct TNCINFO * TNC, struct TNCINFO * ThisTNC)
{
struct STREAMINFO * STREAM = &TNC->Streams[0];
@@ -367,6 +367,14 @@ ok:
// 100 mS Timer.
+ // G7TAJ's code to record activity for stats display
+
+ if ( TNC->BusyFlags && CDBusy )
+ TNC->PortRecord->PORTCONTROL.ACTIVE += 2;
+
+ if ( TNC->PTTState )
+ TNC->PortRecord->PORTCONTROL.SENDING += 2;
+
// See if waiting for connect after changing MYCALL
if (TNC->SlowTimer)