修改lvgl。cjson内存管理器
This commit is contained in:
1 parent
552a916705
commit
541738319d
11 files changed
+100
-26
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user