diff --git a/firmware/controllers/engine_controller.cpp b/firmware/controllers/engine_controller.cpp index 6f46898cd5..f3df8c892d 100644 --- a/firmware/controllers/engine_controller.cpp +++ b/firmware/controllers/engine_controller.cpp @@ -741,7 +741,7 @@ void initEngineContoller() { * UNUSED_SIZE constants. */ #ifndef RAM_UNUSED_SIZE -#define RAM_UNUSED_SIZE 18000 +#define RAM_UNUSED_SIZE 13000 #endif #ifndef CCM_UNUSED_SIZE #define CCM_UNUSED_SIZE 16 diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 9048a9ba0b..ceb12602f9 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1548,7 +1548,7 @@ float[IDLE_ADVANCE_CURVE_SIZE] idleAdvance ;Optional timing advance table for float[IDLE_VE_CURVE_SIZE] idleVeBins;Optional VE table for Idle (see useSeparateVEForIdle);"RPM", 1, 0, 0, 18000, 2 float[IDLE_VE_CURVE_SIZE] idleVe; Optional VE table for Idle (see useSeparateVEForIdle);"%", 1, 0, 0, 999, 2 -#define LUA_SCRIPT_SIZE 3600 +#define LUA_SCRIPT_SIZE 8000 custom lua_script_t @@LUA_SCRIPT_SIZE@@ string, ASCII, @OFFSET@, @@LUA_SCRIPT_SIZE@@ lua_script_t luaScript;