9 lines
233 B
C
9 lines
233 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
/* Initialize the syndrome lookup table and correct up to two codeword errors. */
|
|
void pocsag_bch_init(void);
|
|
bool pocsag_bch_correct(uint32_t *word, unsigned *corrected_bits);
|