summaryrefslogtreecommitdiff
path: root/Moncode.c
diff options
context:
space:
mode:
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