aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-01-17 16:32:22 +0100
committerHarald Welte <laforge@osmocom.org>2020-01-17 16:33:59 +0100
commitc7173bcc691a81df576559f7cd357ffd0e5cbf9f (patch)
tree8a1a97c4fea4b18387b3a05e1a2405251780f405
parent02f01e859c5e6b1345b9d4cb92947077d898ad9a (diff)
increase ringbuffer size from 512 to 1024 bytes
As reported in https://osmocom.org/issues/4335, there appear to be some cards / use cases in which the 512 byte sized ringbuffer is insufficient. As we do have free RAM available, we can easily increase the buffer size, despite not entirely knowing yet why it needs to be *that* large. Change-Id: Ie713d614ec5b334e9058d5d430e4bb660f5b8b69 Closes: OS#4335
-rw-r--r--firmware/libcommon/include/ringbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/libcommon/include/ringbuffer.h b/firmware/libcommon/include/ringbuffer.h
index a6eddc9..23aaa59 100644
--- a/firmware/libcommon/include/ringbuffer.h
+++ b/firmware/libcommon/include/ringbuffer.h
@@ -21,7 +21,7 @@
#include <stdbool.h>
#include <sys/types.h>
-#define RING_BUFLEN 512
+#define RING_BUFLEN 1024
typedef struct ringbuf {
uint8_t buf[RING_BUFLEN];