From 1e846faaec3f5dd19128068fc52c2df5d7ba712a Mon Sep 17 00:00:00 2001 From: Robert Gustafsson Date: Thu, 28 Sep 2017 16:39:28 +0200 Subject: Add new thread for event handling --- broccoli/includes/broevent.h | 2 +- broccoli/includes/fifoqueue.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'broccoli/includes') diff --git a/broccoli/includes/broevent.h b/broccoli/includes/broevent.h index 4021737..653796e 100644 --- a/broccoli/includes/broevent.h +++ b/broccoli/includes/broevent.h @@ -2,4 +2,4 @@ #include #endif -void bro_event_listener(); +void * bro_event_listener(void * args); diff --git a/broccoli/includes/fifoqueue.h b/broccoli/includes/fifoqueue.h index 9ee5c53..398e1e9 100644 --- a/broccoli/includes/fifoqueue.h +++ b/broccoli/includes/fifoqueue.h @@ -4,6 +4,8 @@ Fifo_q * init_queue(int size); +Sensor_t * create_sensor_object(int value, int uid); + boolean is_full(Fifo_q * q); boolean is_empty(Fifo_q * q); -- cgit v1.2.3