summaryrefslogtreecommitdiff
path: root/FLDigi.c
diff options
context:
space:
mode:
Diffstat (limited to 'FLDigi.c')
-rw-r--r--FLDigi.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/FLDigi.c b/FLDigi.c
index 555c41c..b46ee65 100644
--- a/FLDigi.c
+++ b/FLDigi.c
@@ -25,7 +25,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
#include "CHeaders.h"
-int (WINAPI FAR *GetModuleFileNameExPtr)();
+extern int (WINAPI FAR *GetModuleFileNameExPtr)();
extern int (WINAPI FAR *EnumProcessesPtr)();
@@ -218,6 +218,14 @@ static size_t ExtProc(int fn, int port, PDATAMESSAGE buff)
// 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 busy to clear before sending a connect
if (TNC->BusyDelay)
@@ -1122,7 +1130,7 @@ static int WebProc(struct TNCINFO * TNC, char * Buff, BOOL LOCAL)
return Len;
}
-VOID FLDIGISuspendPort(struct TNCINFO * TNC)
+VOID FLDIGISuspendPort(struct TNCINFO * TNC, struct TNCINFO * ThisTNC)
{
TNC->FLInfo->CONOK = FALSE;
}