diff options
| author | Dave Hibberd <d@vehibberd.com> | 2023-12-08 12:26:59 +0000 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2023-12-08 12:26:59 +0000 |
| commit | fd1249b1e27896943e6f0558557ea55b9e87bd7e (patch) | |
| tree | 756a6f7c89b22d9d92a175b430b4b323d94d3659 /APRSCode.c | |
| parent | fda3d6ffaced810d4c98cf05dc2e29e934ed6eea (diff) | |
| parent | 2ccd083256a3a05ae1f402a0ef259fbfff709088 (diff) | |
Update upstream source from tag 'upstream/6.0.24.22'
Update to upstream version '6.0.24.22'
with Debian dir 0520fb299a06420760e7faf0173e3164bfbff640
Diffstat (limited to 'APRSCode.c')
| -rw-r--r-- | APRSCode.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1581,9 +1581,9 @@ OK: // Copy frame to a DIGIMessage Struct
- memcpy(&Msg, monbuff, 21 + (7 * Digis)); // Header, Dest, Source, Addresses and Digis
+ memcpy(&Msg, monbuff, MSGHDDRLEN + 14 + (7 * Digis)); // Header, Dest, Source, Addresses and Digis
- len = Msg.LENGTH - 21 - (7 * Digis); // Payload Length (including CTL and PID
+ len = Msg.LENGTH - (MSGHDDRLEN + 14) - (7 * Digis); // Payload Length (including CTL and PID
memcpy(&Msg.CTL, &AdjBuff->CTL, len);
|
