Showing
1 changed file
with
51 additions
and
51 deletions
| ... | ... | @@ -3961,61 +3961,61 @@ void SmartPhoneSN::ThreadMainEntryPoint() |
| 3961 | 3961 | } |
| 3962 | 3962 | |
| 3963 | 3963 | |
| 3964 | - SPMETA_DLL::SP_META_GetTargetVerInfoV2_r(m_hSPMetaHandle, &a_v2cnf, &a_token,NULL); | |
| 3965 | - { | |
| 3966 | - //int a_verlen = g_pMainDlg->myversion.GetLength(); | |
| 3967 | - //int a_verlen =strlen(g_sMetaComm.check_sw_ver()); | |
| 3968 | - char tmp_checkSwVer[255]; | |
| 3969 | - int len=strlen(g_sMetaComm.check_sw_ver); | |
| 3970 | - | |
| 3971 | - /* strcpy(tmp_checkSwVer,g_sMetaComm.check_sw_ver); | |
| 3972 | - | |
| 3973 | - tmp_checkSwVer[len]=10; | |
| 3974 | - tmp_checkSwVer[len+1]='\0';*/ | |
| 3975 | - | |
| 3976 | - if (strncmp(a_v2cnf.BUILD_DISP_ID,g_sMetaComm.check_sw_ver,len) != 0 ) | |
| 3977 | - { | |
| 3978 | - UpdateUIMsg("Version number is wrong"); | |
| 3979 | - bAnyOperationFail = true; | |
| 3980 | - } | |
| 3981 | - else | |
| 3982 | - { | |
| 3983 | - UpdateUIMsg("Version number OK!"); | |
| 3984 | - } | |
| 3985 | - | |
| 3986 | - int testLen=strlen(a_v2cnf.BUILD_DISP_ID)-1; | |
| 3987 | - memset(tmp_checkSwVer,0x0,sizeof(tmp_checkSwVer)); | |
| 3988 | - strncpy(tmp_checkSwVer,a_v2cnf.BUILD_DISP_ID,testLen); | |
| 3989 | - g_pMainDlg->myrslt_sw.Format(_T("%s"), tmp_checkSwVer); | |
| 3990 | - | |
| 3991 | - | |
| 3992 | - } | |
| 3964 | +// SPMETA_DLL::SP_META_GetTargetVerInfoV2_r(m_hSPMetaHandle, &a_v2cnf, &a_token,NULL); | |
| 3965 | +// { | |
| 3966 | +// //int a_verlen = g_pMainDlg->myversion.GetLength(); | |
| 3967 | +// //int a_verlen =strlen(g_sMetaComm.check_sw_ver()); | |
| 3968 | +// char tmp_checkSwVer[255]; | |
| 3969 | +// int len=strlen(g_sMetaComm.check_sw_ver); | |
| 3970 | +// | |
| 3971 | +// /* strcpy(tmp_checkSwVer,g_sMetaComm.check_sw_ver); | |
| 3972 | +// | |
| 3973 | +// tmp_checkSwVer[len]=10; | |
| 3974 | +// tmp_checkSwVer[len+1]='\0';*/ | |
| 3975 | +// | |
| 3976 | +// if (strncmp(a_v2cnf.BUILD_DISP_ID,g_sMetaComm.check_sw_ver,len) != 0 ) | |
| 3977 | +// { | |
| 3978 | +// UpdateUIMsg("Version number is wrong"); | |
| 3979 | +// bAnyOperationFail = true; | |
| 3980 | +// } | |
| 3981 | +// else | |
| 3982 | +// { | |
| 3983 | +// UpdateUIMsg("Version number OK!"); | |
| 3984 | +// } | |
| 3985 | +// | |
| 3986 | +// int testLen=strlen(a_v2cnf.BUILD_DISP_ID)-1; | |
| 3987 | +// memset(tmp_checkSwVer,0x0,sizeof(tmp_checkSwVer)); | |
| 3988 | +// strncpy(tmp_checkSwVer,a_v2cnf.BUILD_DISP_ID,testLen); | |
| 3989 | +// g_pMainDlg->myrslt_sw.Format(_T("%s"), tmp_checkSwVer); | |
| 3990 | +// | |
| 3991 | +// | |
| 3992 | +// } | |
| 3993 | 3993 | //if (strcmp(g_pMainDlg->myversion.GetBuffer(),a_v2cnf.)) |
| 3994 | 3994 | //{g_pMainDlg->myversion |
| 3995 | 3995 | //} |
| 3996 | 3996 | |
| 3997 | - if (g_sMetaComm.bCheckQCFlag) | |
| 3998 | - { | |
| 3999 | - resultQC = REQ_ReadAP_NVRAM_QC(); | |
| 4000 | - switch(resultQC) | |
| 4001 | - { | |
| 4002 | - case 0: | |
| 4003 | - g_pMainDlg->myrslt_qc=_T("UnTested"); | |
| 4004 | - UpdateUIMsg("QC1 untest"); | |
| 4005 | - bAnyOperationFail = true; | |
| 4006 | - break; | |
| 4007 | - case 1: | |
| 4008 | - g_pMainDlg->myrslt_qc=_T("PASS"); | |
| 4009 | - UpdateUIMsg("QC1 test pass"); | |
| 4010 | - break; | |
| 4011 | - default: | |
| 4012 | - g_pMainDlg->myrslt_qc=_T("Fail"); | |
| 4013 | - UpdateUIMsg("QC1 test fail"); | |
| 4014 | - bAnyOperationFail = true; | |
| 4015 | - break; | |
| 4016 | - } | |
| 4017 | - | |
| 4018 | - } | |
| 3997 | +// if (g_sMetaComm.bCheckQCFlag) | |
| 3998 | +// { | |
| 3999 | +// resultQC = REQ_ReadAP_NVRAM_QC(); | |
| 4000 | +// switch(resultQC) | |
| 4001 | +// { | |
| 4002 | +// case 0: | |
| 4003 | +// g_pMainDlg->myrslt_qc=_T("UnTested"); | |
| 4004 | +// UpdateUIMsg("QC1 untest"); | |
| 4005 | +// bAnyOperationFail = true; | |
| 4006 | +// break; | |
| 4007 | +// case 1: | |
| 4008 | +// g_pMainDlg->myrslt_qc=_T("PASS"); | |
| 4009 | +// UpdateUIMsg("QC1 test pass"); | |
| 4010 | +// break; | |
| 4011 | +// default: | |
| 4012 | +// g_pMainDlg->myrslt_qc=_T("Fail"); | |
| 4013 | +// UpdateUIMsg("QC1 test fail"); | |
| 4014 | +// bAnyOperationFail = true; | |
| 4015 | +// break; | |
| 4016 | +// } | |
| 4017 | +// | |
| 4018 | +// } | |
| 4019 | 4019 | #endif |
| 4020 | 4020 | } |
| 4021 | 4021 | ... | ... |
Please
register
or
login
to post a comment