diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-08-30 10:14:56 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-08-30 10:14:56 +0100 |
| commit | 6dfe32758e1a995b1241af8c981798c22cd70439 (patch) | |
| tree | 7629ba162dd6b1240bb696c043e287781c269c66 /Moncode.c | |
| parent | 766bbe358d961346b239ffe868d1477567046f41 (diff) | |
New upstream version 6.0.24.42upstream/6.0.24.42
Diffstat (limited to 'Moncode.c')
| -rw-r--r-- | Moncode.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -195,6 +195,9 @@ KC6OAR*>ID: // Check Port
Port = msg->PORT;
+
+ if (Port == 40)
+ Port = Port;
if (Port & 0x80)
{
@@ -250,10 +253,8 @@ KC6OAR*>ID: ptr += 7;
n--;
- if (n == 0)
- {
+ if (n < 0)
return 0; // Corrupt - no end of address bit
- }
}
// Reached End of digis
|
