From b0ded343a8795b5dd47bb434c65071055c7ad141 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Thu, 13 Jun 2013 21:16:51 +0200 Subject: [PATCH] logging.c: shorten the log buffer We are overflowing the stack, save the data segment space by shortening the log double buffer in RAM. --- firmware/logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/logging.c b/firmware/logging.c index 31329f8..44e2c39 100644 --- a/firmware/logging.c +++ b/firmware/logging.c @@ -5,7 +5,7 @@ #include "lights.h" -#define LOG_BUFFER 128 +#define LOG_BUFFER 64 static unsigned char log_buffer_ee[LOG_BUFFER] EEMEM; static unsigned char log_buffer_count; static unsigned char log_buffer[LOG_BUFFER]; -- 2.39.3