refactoring

This commit is contained in:
rusefillc 2021-09-18 17:44:46 -04:00
parent 8a1153a775
commit 3de124a1c6
1 changed files with 10 additions and 2 deletions

View File

@ -11,8 +11,16 @@
#define TAG "LUA "
#if EFI_PROD_CODE || EFI_SIMULATOR
static char luaUserHeap[10000];
static char luaSystemHeap[10000];
#ifndef RAM_UNUSED_SIZE
#define LUA_USER_HEAP 10000
#endif
#ifndef CCM_UNUSED_SIZE
#define LUA_SYSTEM_HEAP 10000
#endif
static char luaUserHeap[LUA_USER_HEAP];
static char luaSystemHeap[LUA_SYSTEM_HEAP];
class Heap {
memory_heap_t m_heap;