mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 23:45:49 +08:00
Fix bug in P25 rate 1/2 data FEC.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2016,2018 by Jonathan Naylor, G4KLX
|
* Copyright (C) 2016,2018,2024 by Jonathan Naylor, G4KLX
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@@ -475,7 +475,7 @@ bool CP25Trellis::fixCode12(unsigned char* points, unsigned int failPos, unsigne
|
|||||||
unsigned int bestPos = 0U;
|
unsigned int bestPos = 0U;
|
||||||
unsigned int bestVal = 0U;
|
unsigned int bestVal = 0U;
|
||||||
|
|
||||||
for (unsigned int i = 0U; i < 4U; i++) {
|
for (unsigned int i = 0U; i < 16U; i++) {
|
||||||
points[failPos] = i;
|
points[failPos] = i;
|
||||||
|
|
||||||
unsigned char dibits[49U];
|
unsigned char dibits[49U];
|
||||||
|
|||||||
Reference in New Issue
Block a user