1.修改可能出现漏发送问题
This commit is contained in:
parent
65ccdbc3fb
commit
d1ce4e56c5
|
@ -2403,7 +2403,7 @@ SINT32 sf_module_complete_init(void)
|
||||||
SLOGD(" s\n");
|
SLOGD(" s\n");
|
||||||
|
|
||||||
//needRecordLogFlag = 1;
|
//needRecordLogFlag = 1;
|
||||||
puiPara->NetGeneration = SF_NET_NO;
|
//puiPara->NetGeneration = SF_NET_NO;
|
||||||
sf_gsm_para_buff_clear();
|
sf_gsm_para_buff_clear();
|
||||||
|
|
||||||
while(sf_app_while_flag())
|
while(sf_app_while_flag())
|
||||||
|
@ -3996,7 +3996,7 @@ SINT32 sf_auto_net_reg(void)
|
||||||
SF_LOG(" s\n");
|
SF_LOG(" s\n");
|
||||||
|
|
||||||
//needRecordLogFlag = 1;
|
//needRecordLogFlag = 1;
|
||||||
puiPara->NetGeneration = 0;
|
//puiPara->NetGeneration = 0;
|
||||||
|
|
||||||
sf_gsm_para_buff_clear();
|
sf_gsm_para_buff_clear();
|
||||||
|
|
||||||
|
|
|
@ -920,20 +920,20 @@ SINT32 sf_pic_send_ftp(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
piccount = pThumbFileCfg->filecnt;
|
piccount = pThumbFileCfg->filecnt;
|
||||||
if(4 == pPara->NetGeneration)
|
// if(4 == pPara->NetGeneration)
|
||||||
{
|
// {
|
||||||
if(piccount >= 2)
|
// if(piccount >= 2)
|
||||||
{
|
// {
|
||||||
piccount = ((pPara->SendPicSize == 2) ? 2 : piccount);
|
// piccount = ((pPara->SendPicSize == 2) ? 2 : piccount);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
else
|
// else
|
||||||
{
|
// {
|
||||||
if(piccount >= 1)
|
// if(piccount >= 1)
|
||||||
{
|
// {
|
||||||
piccount = 1;
|
// piccount = 1;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
MLOGI("NetGeneration:%dG,tempPicSize=%d,piccount=%d,filecnt=%d\n", pPara->NetGeneration, tempPicSize, piccount, pThumbFileCfg->filecnt);
|
MLOGI("NetGeneration:%dG,tempPicSize=%d,piccount=%d,filecnt=%d\n", pPara->NetGeneration, tempPicSize, piccount, pThumbFileCfg->filecnt);
|
||||||
|
|
||||||
//printf("[%s:%d]piccount=%d\n", __FUNCTION__, __LINE__, piccount);
|
//printf("[%s:%d]piccount=%d\n", __FUNCTION__, __LINE__, piccount);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user