summaryrefslogtreecommitdiffstats
path: root/prototypes.h
diff options
context:
space:
mode:
authorroot <root@no.no.james.local>2019-02-26 15:38:49 +0000
committerroot <root@no.no.james.local>2019-02-26 15:38:49 +0000
commit9ada072d5337a582e987ed57dc4816189208dea7 (patch)
tree657295fefd5ec9ec153f92ba77bd46d82b0977f8 /prototypes.h
parent89aa56f25116fc642928f352c14fe2d485532749 (diff)
downloadgen_msf-9ada072d5337a582e987ed57dc4816189208dea7.tar.gz
gen_msf-9ada072d5337a582e987ed57dc4816189208dea7.tar.bz2
gen_msf-9ada072d5337a582e987ed57dc4816189208dea7.zip
fix bcd encoder
Diffstat (limited to 'prototypes.h')
-rw-r--r--prototypes.h2
1 files changed, 2 insertions, 0 deletions
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 */