mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user