summaryrefslogtreecommitdiff
path: root/HALDriver.c
diff options
context:
space:
mode:
authorg8bpq <john.wiseman@cantab.net>2023-05-16 16:40:12 +0100
committerg8bpq <john.wiseman@cantab.net>2023-05-16 16:40:12 +0100
commitac7e6b99beace1e002246436175581d01b02a117 (patch)
tree6f6113b3d9fbd62c94530619e2a827a708831976 /HALDriver.c
parent60ff21fb3139286e7a79ea73e4b9ae28d6a5524b (diff)
6.0.23.6623.70
Diffstat (limited to 'HALDriver.c')
-rw-r--r--HALDriver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/HALDriver.c b/HALDriver.c
index 0282457..69c573d 100644
--- a/HALDriver.c
+++ b/HALDriver.c
@@ -765,7 +765,7 @@ VOID HALPoll(int Port)
sprintf(Msg, "%d SCANSTOP", TNC->Port);
- Rig_Command(-1, Msg);
+ Rig_Command( (TRANSPORTENTRY *) -1, Msg);
SendCmd(TNC, "\x42", 1); // Connect Enable off
@@ -820,7 +820,7 @@ VOID HALPoll(int Port)
sprintf(Status, "%d SCANSTART 15", TNC->Port);
- Rig_Command(-1, Status);
+ Rig_Command( (TRANSPORTENTRY *) -1, Status);
return;
}
@@ -894,7 +894,7 @@ VOID HALPoll(int Port)
if (memcmp(MsgPtr, "RADIO ", 6) == 0)
{
sprintf(&MsgPtr[40], "%d %s", TNC->Port, &MsgPtr[6]);
- if (Rig_Command(TNC->PortRecord->ATTACHEDSESSIONS[0]->L4CROSSLINK->CIRCUITINDEX, &MsgPtr[40]))
+ if (Rig_Command(TNC->PortRecord->ATTACHEDSESSIONS[0]->L4CROSSLINK, &MsgPtr[40]))
{
ReleaseBuffer(buffptr);
}
@@ -1764,7 +1764,7 @@ BOOL HALConnected(struct TNCINFO * TNC, char * Call)
sprintf(Msg, "%d SCANSTOP", TNC->Port);
- Rig_Command(-1, Msg);
+ Rig_Command( (TRANSPORTENTRY *) -1, Msg);
ShowTraffic(TNC);