summaryrefslogtreecommitdiff
path: root/KAMPactor.c
diff options
context:
space:
mode:
authorg8bpq <john.wiseman@cantab.net>2023-06-21 08:21:04 +0100
committerg8bpq <john.wiseman@cantab.net>2023-06-21 08:21:04 +0100
commit75b5bcc9a97b38c6c0c210bf14fabad9cadf704a (patch)
tree913d37a3946a40e9694833ed36fd5a8e02a23d42 /KAMPactor.c
parenta21121fbfce48307740e6ade5f4f16531501b053 (diff)
6.0.23.7623.77
Diffstat (limited to 'KAMPactor.c')
-rw-r--r--KAMPactor.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/KAMPactor.c b/KAMPactor.c
index 08e475c..f214f04 100644
--- a/KAMPactor.c
+++ b/KAMPactor.c
@@ -331,6 +331,14 @@ ok:
// 100 mS Timer. May now be needed, as Poll can be called more frequently in some circumstances
+ // 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;
+
CheckRXKAM(TNC);
KAMPoll(port);