mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 14:30:36 +00:00
use 8 bit CRC
This commit is contained in:
parent
520382a396
commit
e94036d08d
1 changed files with 3 additions and 3 deletions
|
|
@ -25,13 +25,13 @@ int main()
|
|||
const int M = 7;
|
||||
const int N = 1 << M;
|
||||
const bool crc_aided = false;
|
||||
CODE::CRC<uint32_t> crc(0xD419CC15);
|
||||
const int C = 32;
|
||||
CODE::CRC<uint8_t> crc(0xD9);
|
||||
const int C = 8;
|
||||
#if 1
|
||||
const int L = 64;
|
||||
typedef int8_t code_type;
|
||||
#else
|
||||
const int L = 8;
|
||||
const int L = 16;
|
||||
typedef float code_type;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue