shrink ringbuffer size to 128 bytes

We only use it to implemet a software FIFO between the UART Rx IRQ
and the code that processes it.  1k is way too large for that.
This commit is contained in:
Harald Welte
2016-03-18 10:33:31 +01:00
parent 9f240b6d34
commit b8f9450c18

View File

@@ -5,7 +5,7 @@
#include <stdbool.h>
#include <sys/types.h>
#define RING_BUFLEN 1024
#define RING_BUFLEN 128
typedef struct ringbuf {
uint8_t buf[RING_BUFLEN];