mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 22:35:44 +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 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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue