Commit ce1a442a authored by 李秉薇's avatar 李秉薇

fix:41004,F112写不进去

parent 1a2e74f3
......@@ -750,22 +750,22 @@ void ReadAllDFlashData(void)
}
if(memcmp(Ser2EToDFlashInfo.DID_F112,DID_F112,sizeof(DID_F112))!=0)
/*if(memcmp(Ser2EToDFlashInfo.DID_F112,DID_F112,sizeof(DID_F112))!=0)
{
flag2E=1;
memset(Ser2EToDFlashInfo.DID_F112, 0x20, 8u);
memcpy(Ser2EToDFlashInfo.DID_F112,DID_F112,sizeof(DID_F112));
}
/*if(memcmp(Ser2EToDFlashInfo.DID_F1A2,Ser22_DID_F1A2,sizeof(Ser22_DID_F1A2))!=0)
if(memcmp(Ser2EToDFlashInfo.DID_F1A2,Ser22_DID_F1A2,sizeof(Ser22_DID_F1A2))!=0)
{
flag2E=1;
memcpy(Ser2EToDFlashInfo.DID_F1A2,Ser22_DID_F1A2,4);
}*/
}
if (flag2E==1)
{
WriteDFlashData(0x04u, (uint32_t *)&Ser2EToDFlashInfo.Flag, sizeof(Ser2EToDFlashInfo) / 4u, NeedWait);
}
}*/
if (Ser27_FlowCtrlCnt.LV1ReqSeedCnt >= SER27_MAX_REQ_SEED_NUM )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment