mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/ecc: fix typos
This commit is contained in:
parent
3475542650
commit
5afc15a701
@ -273,7 +273,7 @@ static uint32_t golay2412_decode_symbol(uint32_t _sym_enc,
|
|||||||
/* step 8: compute estimated transmitted message: v_hat = r + e_hat */
|
/* step 8: compute estimated transmitted message: v_hat = r + e_hat */
|
||||||
v_hat = _sym_enc ^ e_hat;
|
v_hat = _sym_enc ^ e_hat;
|
||||||
#if DEBUG_FEC_GOLAY2412
|
#if DEBUG_FEC_GOLAY2412
|
||||||
printf("r (recevied vector): ");
|
printf("r (received vector): ");
|
||||||
liquid_print_bitstring(_sym_enc, 24); printf("\n");
|
liquid_print_bitstring(_sym_enc, 24); printf("\n");
|
||||||
printf("e-hat (estimated error vector): ");
|
printf("e-hat (estimated error vector): ");
|
||||||
liquid_print_bitstring(e_hat, 24); printf("\n");
|
liquid_print_bitstring(e_hat, 24); printf("\n");
|
||||||
|
@ -128,7 +128,7 @@ static void compute256(const uint8_t *data, uint8_t *code, uint8_t padding)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* At this point, we have the line parities, and the column sum. First, We
|
* At this point, we have the line parities, and the column sum. First, We
|
||||||
* must caculate the parity group values on the column sum.
|
* must calculate the parity group values on the column sum.
|
||||||
*/
|
*/
|
||||||
for (i = 0; i < 8; i++) {
|
for (i = 0; i < 8; i++) {
|
||||||
if (columnSum & 1) {
|
if (columnSum & 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user