mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Remove FACCH2 processing and add voice body processing.
This commit is contained in:
@@ -79,25 +79,18 @@ bool CNXDNSACCH::decode(const unsigned char* data)
|
||||
|
||||
uint8_t temp2[72U];
|
||||
|
||||
char text[500U];
|
||||
::strcpy(text, "NXDN, SACCH de-punctured: ");
|
||||
|
||||
unsigned int n = 0U;
|
||||
unsigned int index = 0U;
|
||||
for (unsigned int i = 0U; i < NXDN_SACCH_LENGTH_BITS; i++) {
|
||||
if (n == PUNCTURE_LIST[index]) {
|
||||
::strcat(text, "X, ");
|
||||
temp2[n++] = 99U;
|
||||
index++;
|
||||
}
|
||||
|
||||
bool b = READ_BIT1(temp1, i);
|
||||
temp2[n++] = b ? 1U : 0U;
|
||||
::strcat(text, b ? "1, " : "0, ");
|
||||
}
|
||||
|
||||
LogMessage(text);
|
||||
|
||||
CNXDNConvolution conv;
|
||||
conv.start();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user