diff options
Diffstat (limited to 'usb-i2c-sl018/eventqueue.c')
-rw-r--r-- | usb-i2c-sl018/eventqueue.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/usb-i2c-sl018/eventqueue.c b/usb-i2c-sl018/eventqueue.c index 7519e82..af6d9f7 100644 --- a/usb-i2c-sl018/eventqueue.c +++ b/usb-i2c-sl018/eventqueue.c @@ -22,3 +22,22 @@ */ #include "eventqueue.h" +#include <LUFA/Drivers/Misc/RingBuffer.h> + +static RingBuffer_t event_queue; +static uint8_t event_queue_data[128]; + +void eventqueue_init(void) +{ + RingBuffer_InitBuffer(&event_queue, event_queue_data, sizeof(event_queue_data)); +} + +event_t eventqueue_pop(void) +{ + return none; +} + +void eventqueue_push(event_t event) +{ +} + |