修改lvgl。cjson内存管理器

This commit is contained in:
sc committed 2026-01-25 00:10:51 +08:00
1 parent 552a916705
commit 541738319d
11 files changed
+100 -26

No files matched your search

-3
View File
@@ -190,8 +190,6 @@ void db_sqlite_init_full(void)
if (g_db)
{
sqlite3_close(g_db);
//限制缓存大小 (100KB)
sqlite3_exec(g_db, "PRAGMA cache_size = 50;", 0, 0, 0);
g_db = RT_NULL;
}
return; //
@@ -286,7 +284,6 @@ static void db_sqlite(void *parameter) {
if (first_wait_done)
{
first_wait_done = RT_FALSE;
sqlite3_exec(g_db, "PRAGMA shrink_memory;", 0, 0, 0);
sqlite3_close(g_db);
g_db=RT_NULL;
op_link=0;