#pragma once #include #include /* 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);