mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 00:35:53 +08:00
Changing metric calculation for Viterbi decoder NXDN
This commit is contained in:
@@ -110,12 +110,12 @@ bool CNXDNUDCH::decode(const unsigned char* data)
|
||||
unsigned int index = 0U;
|
||||
for (unsigned int i = 0U; i < NXDN_FACCH2_LENGTH_BITS; i++) {
|
||||
if (n == PUNCTURE_LIST[index]) {
|
||||
temp2[n++] = 99U;
|
||||
temp2[n++] = 1U;
|
||||
index++;
|
||||
}
|
||||
|
||||
bool b = READ_BIT1(temp1, i);
|
||||
temp2[n++] = b ? 1U : 0U;
|
||||
temp2[n++] = b ? 2U : 0U;
|
||||
}
|
||||
|
||||
CNXDNConvolution conv;
|
||||
|
||||
Reference in New Issue
Block a user