Skip to content

Commit

Permalink
Fix bug in P25 rate 1/2 data FEC.
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed Sep 30, 2024
1 parent ace21b7 commit b1ac8cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions P25Trellis.cpp
Original file line number Diff line number Diff line change
@@ -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
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -475,7 +475,7 @@ bool CP25Trellis::fixCode12(unsigned char* points, unsigned int failPos, unsigne
unsigned int bestPos = 0U;
unsigned int bestVal = 0U;

for (unsigned int i = 0U; i < 4U; i++) {
for (unsigned int i = 0U; i < 16U; i++) {
points[failPos] = i;

unsigned char dibits[49U];
Expand Down

0 comments on commit b1ac8cc

Please sign in to comment.