From 6dfe32758e1a995b1241af8c981798c22cd70439 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Fri, 30 Aug 2024 10:14:56 +0100 Subject: New upstream version 6.0.24.42 --- Moncode.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Moncode.c') 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 -- cgit v1.2.3