summaryrefslogtreecommitdiff
path: root/Moncode.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-08-30 10:15:03 +0100
committerDave Hibberd <hibby@debian.org>2024-08-30 10:15:03 +0100
commitb26c87817a84747300d1ca59d80feff10976f22e (patch)
treef2fcfcd42b93b449850ab1f78c254af392b5c922 /Moncode.c
parent60585818de254e8921fca42f55c175aa52e77e1e (diff)
parent6dfe32758e1a995b1241af8c981798c22cd70439 (diff)
Update upstream source from tag 'upstream/6.0.24.42'
Update to upstream version '6.0.24.42' with Debian dir 41e80b6ddfe044cd65e1f3985d66d43c24aadd9f
Diffstat (limited to 'Moncode.c')
-rw-r--r--Moncode.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Moncode.c b/Moncode.c
index aa1c0bd..6463b14 100644
--- a/Moncode.c
+++ b/Moncode.c
@@ -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