a bit of flexibility

This commit is contained in:
rusefi 2020-08-26 23:08:48 -04:00
parent 1aef47030d
commit 72290df894
2 changed files with 9 additions and 2 deletions

View File

@ -36,7 +36,14 @@
#define EFI_ENABLE_CRITICAL_ENGINE_STOP TRUE
#define EFI_ENABLE_ENGINE_WARNING TRUE
#define EFI_USE_CCM TRUE
#if !defined(EFI_ENABLE_ASSERTS)
#define EFI_USE_CCM TRUE
#endif
#ifndef SC_BUFFER_SIZE
#define SC_BUFFER_SIZE 4000
#endif
/**
* if you have a 60-2 trigger, or if you just want better performance, you

View File

@ -15,7 +15,7 @@
#include "status_loop.h"
#if EFI_TEXT_LOGGING
static char LOGGING_BUFFER[4000] CCM_OPTIONAL;
static char LOGGING_BUFFER[SC_BUFFER_SIZE] CCM_OPTIONAL;
static Logging scLogging("analog chart", LOGGING_BUFFER, sizeof(LOGGING_BUFFER));
#endif /* EFI_TEXT_LOGGING */