Files
pager/main/pocsag_bch.h
T
2026-11-12 19:43:23 +01:00

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);