FreeCalypso > hg > vband-misc
changeset 49:2daadef1e70d
efr-sid OS#6538: more sensible 15-bit and 16-bit errors
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 12 Aug 2024 02:37:21 +0000 |
parents | 3e632126e099 |
children | 0db059f4632d |
files | efr-sid/mk-sid-test2.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/efr-sid/mk-sid-test2.c Sun Aug 11 22:17:37 2024 +0000 +++ b/efr-sid/mk-sid-test2.c Mon Aug 12 02:37:21 2024 +0000 @@ -97,7 +97,7 @@ uint8_t frame_bits[TOTAL_BITS]; unsigned i, j; - for (i = 0; i < 6; i++) { + for (i = 0; i < 11; i++) { bcopy(input_frame, frame_bits, TOTAL_BITS); for (j = 0; j < 15; j++) frame_bits[SID_codeword_bit_idx[j * 6 + i]] = 0; @@ -111,10 +111,10 @@ uint8_t frame_bits[TOTAL_BITS]; unsigned i, j; - for (i = 0; i < 6; i++) { + for (i = 0; i < 20; i++) { bcopy(input_frame, frame_bits, TOTAL_BITS); for (j = 0; j < 16; j++) - frame_bits[SID_codeword_bit_idx[j * 6 + i]] = 0; + frame_bits[SID_codeword_bit_idx[j * 5 + i]] = 0; emit_out_frame(frame_bits); } }