From 9ada072d5337a582e987ed57dc4816189208dea7 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 26 Feb 2019 15:38:49 +0000 Subject: fix bcd encoder --- prototypes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'prototypes.h') diff --git a/prototypes.h b/prototypes.h index e6c95a4..ef0a6b3 100644 --- a/prototypes.h +++ b/prototypes.h @@ -9,6 +9,8 @@ extern void msf_make_stream(uint8_t *v, UTC u); /* util.c */ extern int set_parity(uint8_t *d, unsigned s, unsigned e); extern void bcd_set(uint8_t *d, unsigned s, unsigned e, unsigned v); +extern int check_parity(uint8_t *d, unsigned s, unsigned e, uint8_t p); +extern unsigned bcd(uint8_t *d, unsigned s, unsigned e); /* main.c */ extern int main(int argc, char *argv[]); /* signal.c */ -- cgit v1.2.3