diff options
author | Your Name <you@example.com> | 2019-04-30 14:16:53 +0100 |
---|---|---|
committer | Your Name <you@example.com> | 2019-04-30 14:16:53 +0100 |
commit | 2d7f0dd25f9d80c7361ead9995a735a63ef27020 (patch) | |
tree | 5df4fcadd9c187fab32442ed5eea7c6546d2c99b /app/prototypes.h | |
parent | 259ee0e7022ce15f4f2c8294a4fc3de7005d7fab (diff) | |
download | adapter-2d7f0dd25f9d80c7361ead9995a735a63ef27020.tar.gz adapter-2d7f0dd25f9d80c7361ead9995a735a63ef27020.tar.bz2 adapter-2d7f0dd25f9d80c7361ead9995a735a63ef27020.zip |
working with 2 sets of stripes
Diffstat (limited to 'app/prototypes.h')
-rw-r--r-- | app/prototypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/prototypes.h b/app/prototypes.h index f153902..967b9b8 100644 --- a/app/prototypes.h +++ b/app/prototypes.h @@ -16,7 +16,7 @@ extern void ring_init(ring_t *r, uint8_t *buf, size_t len); extern int ring_write_byte(ring_t *r, uint8_t c); extern int ring_empty(ring_t *r); extern int ring_read_byte(ring_t *r, uint8_t *c); -extern int ring_write(ring_t *r, uint8_t *buf, size_t len); +extern int ring_write(ring_t *r, const uint8_t *buf, size_t len); /* usart.c */ extern ring_t usart_rx_ring; extern ring_t usart_tx_ring; @@ -32,4 +32,5 @@ extern void ticker_init(void); /* timex.c */ extern ring_t timex_ring; extern void timex_tick(void); +extern uint8_t ex[]; extern void timex_init(void); |