mirror of
https://github.com/aicodix/modem.git
synced 2026-04-27 14:30:34 +00:00
erase remaining bits
This commit is contained in:
parent
fff6c60bbe
commit
bce8a6ee56
1 changed files with 2 additions and 0 deletions
|
|
@ -555,6 +555,8 @@ struct Decoder
|
|||
*len = data_bits / 8;
|
||||
crc_bits = data_bits + 32;
|
||||
CODE::PolarHelper<mesg_type>::PATH metric[mesg_type::SIZE];
|
||||
for (int i = code_cols * cons_rows * mod_bits; i < bits_max; ++i)
|
||||
code[i] = 0;
|
||||
shuffle(code);
|
||||
polardec(metric, mesg, code, frozen_bits, code_order);
|
||||
systematic();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue