1.修复Dailyreport发送问题
This commit is contained in:
parent
0de21b91f9
commit
0eb9afd500
|
@ -1071,6 +1071,7 @@ SINT16 app_file_transfer_Error_return_server(SF_FN_PARAM_S *pfnParam) {
|
|||
|
||||
static SINT32 app_file_transfer(SF_FN_PARAM_S *pfnParam) {
|
||||
SINT32 s32ret = 0;
|
||||
static int DailyreportSendFlag = 0;
|
||||
// SF_MESSAGE_BUF_S stMessageBuf = {0};
|
||||
// UIMenuStoreInfo *pCustomerParam = pfnParam->pstParam;
|
||||
// SF_PDT_PARAM_STATISTICS_S *pStaticParam = pfnParam->pstaticParam;
|
||||
|
@ -1156,9 +1157,9 @@ static SINT32 app_file_transfer(SF_FN_PARAM_S *pfnParam) {
|
|||
if(sf_get_send_gps_txt()){
|
||||
s32ret = sf_gps_send_ftp();
|
||||
}
|
||||
//if (pCustomerParam->GpsSendFlag)
|
||||
if (!DailyreportSendFlag)
|
||||
{
|
||||
|
||||
DailyreportSendFlag = 1;
|
||||
s32ret = sf_send_file_to_ftp(2);
|
||||
if(pCustomerParam->SdFailCount)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user