From 6d8a58ae50c46531512ac6930d95f7ec2d6679c3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 13 Dec 2018 11:14:30 +0100 Subject: ubjw: Decrease CONTAINER_STACK_MAX --- src/lib/ubjson/ubjw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/ubjson/ubjw.c b/src/lib/ubjson/ubjw.c index 2ee78f7..9fce397 100644 --- a/src/lib/ubjson/ubjw.c +++ b/src/lib/ubjson/ubjw.c @@ -15,7 +15,7 @@ #define CONTAINER_EXPECTS_KEY 0x10 -#define CONTAINER_STACK_MAX 64 +#define CONTAINER_STACK_MAX 16 #define BUFFER_OUT_SIZE 1024 #define MAX_DIMS 8 @@ -569,6 +569,7 @@ void ubjw_end(ubjw_context_t* ctx) } +// Not used by benchmark.py -> high BUFFER_OUT_SIZE does not matter static inline void priv_ubjw_write_byteswap(ubjw_context_t* ctx, const uint8_t* data, int sz, size_t count) { uint8_t buf[BUFFER_OUT_SIZE]; -- cgit v1.2.3