From b8f9450c18b4f4a4b0b9a455524d99c71595fd4d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 18 Mar 2016 10:33:31 +0100 Subject: [PATCH] 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. --- firmware/src_simtrace/ringbuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/src_simtrace/ringbuffer.h b/firmware/src_simtrace/ringbuffer.h index 662ae095..801e96b5 100644 --- a/firmware/src_simtrace/ringbuffer.h +++ b/firmware/src_simtrace/ringbuffer.h @@ -5,7 +5,7 @@ #include #include -#define RING_BUFLEN 1024 +#define RING_BUFLEN 128 typedef struct ringbuf { uint8_t buf[RING_BUFLEN];