diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-02-12 23:26:44 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-02-12 23:26:44 +0000 |
| commit | b8e40a44c95ea6e9933a130e9465eb98fa650aed (patch) | |
| tree | 53f77f3ae58348973734c6144267e0f5b1e3b37c /SCSPactor.c | |
| parent | 2634d16f4159b217417724b0cf2a834d5a816346 (diff) | |
New upstream version 6.0.24.29upstream/6.0.24.29
Diffstat (limited to 'SCSPactor.c')
| -rw-r--r-- | SCSPactor.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/SCSPactor.c b/SCSPactor.c index 4ae57be..c5a5ab0 100644 --- a/SCSPactor.c +++ b/SCSPactor.c @@ -3189,14 +3189,16 @@ VOID ProcessDEDFrame(struct TNCINFO * TNC, UCHAR * Msg, int framelen) // If using an FT847 on PTC Port it needa a "Cat On" Command. Send it here
- PORT = TNC->RIG->PORT;
-
- if (PORT->PTC && strcmp(PORT->Rigs[0].RigName, "FT847") == 0)
+ if (TNC->RIG->PORT && TNC->RIG->PORT->PTC)
{
- UCHAR CATON[6] = {0,0,0,0,0};
- SendPTCRadioCommand(PORT->PTC, CATON, 5);
- }
+ PORT = TNC->RIG->PORT;
+ if (strcmp(PORT->Rigs[0].RigName, "FT847") == 0)
+ {
+ UCHAR CATON[6] = {0,0,0,0,0};
+ SendPTCRadioCommand(PORT->PTC, CATON, 5);
+ }
+ }
}
Stream = RealStream = Msg[2];
|
