diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-09-25 01:38:21 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-09-25 01:38:21 +0100 |
| commit | 313013b5162f54c21440a9dcad1518427f4fcf71 (patch) | |
| tree | 291c79316bcbb6c96ca36c789068e8569a344739 /Moncode.c | |
| parent | 8da3573e9db4a5fbb2beb30d35f0a5bda4bbb5bf (diff) | |
| parent | b18a579b0c56cbf065714972a48c19d1662180e8 (diff) | |
Merge branch 'debian/latest' into debian/bookworm
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
|
