From c7db973434a27e73ae720e7bea0c32be50b59790 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 1 Dec 2021 09:06:16 -0500 Subject: [PATCH] proteus to have enlarged Lua --- firmware/config/boards/proteus/prepend.txt | 1 - firmware/controllers/engine_controller.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/firmware/config/boards/proteus/prepend.txt b/firmware/config/boards/proteus/prepend.txt index c40a1e3abc..a8bb58a7ca 100644 --- a/firmware/config/boards/proteus/prepend.txt +++ b/firmware/config/boards/proteus/prepend.txt @@ -25,4 +25,3 @@ #define show_Proteus_presets true #define ts_show_f7_presets true -#define LUA_SCRIPT_SIZE 4000 diff --git a/firmware/controllers/engine_controller.cpp b/firmware/controllers/engine_controller.cpp index 24a9230b04..04a1023282 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 21000 +#define RAM_UNUSED_SIZE 20000 #endif #ifndef CCM_UNUSED_SIZE #define CCM_UNUSED_SIZE 16