use 8 bit CRC

This commit is contained in:
Ahmet Inan 2026-02-02 08:16:13 +01:00
commit e94036d08d

View file

@ -25,13 +25,13 @@ int main()
const int M = 7; const int M = 7;
const int N = 1 << M; const int N = 1 << M;
const bool crc_aided = false; const bool crc_aided = false;
CODE::CRC<uint32_t> crc(0xD419CC15); CODE::CRC<uint8_t> crc(0xD9);
const int C = 32; const int C = 8;
#if 1 #if 1
const int L = 64; const int L = 64;
typedef int8_t code_type; typedef int8_t code_type;
#else #else
const int L = 8; const int L = 16;
typedef float code_type; typedef float code_type;
#endif #endif