ldpc check based on crc

This commit is contained in:
laurent
2023-06-12 10:24:57 +02:00
parent 3645c96c09
commit 615324294b
16 changed files with 222 additions and 408 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ uint32_t crc6(unsigned char* inptr, int bitlen)
return crc;
}
int check_crc(uint8_t* decoded_bytes, uint32_t n, uint32_t F, uint8_t crc_type)
int check_crc(uint8_t* decoded_bytes, uint32_t n, uint8_t crc_type)
{
uint32_t crc=0,oldcrc=0;
uint8_t crc_len=0;