1.内存优化
This commit is contained in:
parent
fe10d516b0
commit
b06f2298b8
|
@ -407,6 +407,12 @@ INT32 System_OnBoot(VControl *pCtrl, UINT32 paramNum, UINT32 *paramArray)
|
|||
//sleep(2);
|
||||
//sf_apinfo_thread_init();
|
||||
}
|
||||
#endif
|
||||
#if HUNTING_CAMERA_MCU == ENABLE
|
||||
printf("[%s]:%d sf s\n", __FUNCTION__, __LINE__);
|
||||
system("sync");
|
||||
system("echo 3 >/proc/sys/vm/drop_caches");
|
||||
printf("[%s]:%d sf e\n", __FUNCTION__, __LINE__);
|
||||
#endif
|
||||
return NVTEVT_CONSUME;
|
||||
}
|
||||
|
|
|
@ -949,6 +949,12 @@ static void UIFlowMenuCommonItem_ScrOpen(lv_obj_t* obj)
|
|||
gMenuLuck = MENU_UNLUCK;
|
||||
#if HUNTING_CAMERA_MCU == ENABLE
|
||||
sf_set_menu_open(TRUE);
|
||||
|
||||
printf("[%s]:%d sf s\n", __FUNCTION__, __LINE__);
|
||||
system("sync");
|
||||
system("echo 3 >/proc/sys/vm/drop_caches");
|
||||
printf("[%s]:%d sf e\n", __FUNCTION__, __LINE__);
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user