make ringbuffer thread safety optional
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
#define RINGBUFFER_THREAD_SAFE
|
||||
|
||||
#include <linux/i2c-dev.h>
|
||||
#include <i2c/smbus.h>
|
||||
#include <sys/ioctl.h>
|
||||
@ -9,7 +11,6 @@
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#include "global.h"
|
||||
#include "ringbuffer.h"
|
||||
|
Reference in New Issue
Block a user