1.优化代码

This commit is contained in:
payton 2023-09-06 15:48:26 +08:00
parent 0e379d2fa4
commit 9fa3a0833d
2 changed files with 4 additions and 8 deletions

View File

@ -1027,19 +1027,19 @@ SINT32 sf_app_para_check_start(void)
SINT32 sf_app_para_check_stop(void)
{
UINT16 ret = 0;
MLOGD("s\n");
//MLOGD("s\n");
if(0 == ParaTskCfg.IsRun){
return SF_SUCCESS;
}
ParaTskCfg.IsRun = 0;
MLOGD("s1\n");
//MLOGD("s1\n");
if(TRUE == sf_get_para_check_flag()){
MLOGI("menu info is changed\n");
sf_share_mem_customer_down(1);
}
MLOGD("s2\n");
//MLOGD("s2\n");
ret = pthread_join(ParaTskCfg.TskId, NULL);
if(ret != SF_SUCCESS)
@ -1047,7 +1047,7 @@ SINT32 sf_app_para_check_stop(void)
MLOGD("thread stop fail!\n");
return ret;
}
MLOGD("e\n");
//MLOGD("e\n");
return SF_SUCCESS;
}

View File

@ -1549,10 +1549,6 @@ BOOL sf_check_auto_thumb_file(VOID)
}
}
}
if(0 == puiPara->SendType){
sf_file_remove(tmp);
}
printf("%s:%d e \n", __FUNCTION__, __LINE__);