diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-02-12 23:26:50 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-02-12 23:26:50 +0000 |
| commit | 2dd6d1f7bf3868af25a6699c36666bde344f574c (patch) | |
| tree | 4aae1a79440515afaab1d8fea8492e19bc618947 /SCSPactor.c | |
| parent | 6ee8a719cf085f8e4d10007238a115eee4c7dc42 (diff) | |
| parent | b8e40a44c95ea6e9933a130e9465eb98fa650aed (diff) | |
Update upstream source from tag 'upstream/6.0.24.29'
Update to upstream version '6.0.24.29'
with Debian dir ba277a512a8b14521d23a1497e82b450759ea31d
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];
|
