From 2fd9cfdc3d34ebcaad8d4bb7657324b566937965 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Fri, 27 May 2016 00:25:23 +0000 Subject: [PATCH] Add missing file --- include/tabby/avr/buffer.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/tabby/avr/buffer.h diff --git a/include/tabby/avr/buffer.h b/include/tabby/avr/buffer.h new file mode 100644 index 0000000..ef3dbc5 --- /dev/null +++ b/include/tabby/avr/buffer.h @@ -0,0 +1,21 @@ +#ifndef _TABBY_AVR_BUFFER_H +#define _TABBY_AVR_BUFFER_H + +#include + +#include + +#define TABBY_AVR_BUFFER_SIZE 1024 + +typedef struct _tabby_avr_buffer { + uint16_t len, + cur; + + union { + tabby_packet header; + + uint8_t data[TABBY_AVR_BUFFER_SIZE]; + }; +} tabby_avr_buffer; + +#endif /* _TABBY_AVR_BUFFER_H */