Commit 1b99e267 authored by 陈家乐's avatar 陈家乐

🐞 fix:故障码问题,DTC2修改

parent 64e55c49
...@@ -116,10 +116,10 @@ uint32_t Get_FaultCodeDtc2(void) ...@@ -116,10 +116,10 @@ uint32_t Get_FaultCodeDtc2(void)
DTC2 |= DTCM2 & 0xF; DTC2 |= DTCM2 & 0xF;
} }
if (DTC2 == 0) //if (DTC2 == 0)
{ //{
return 0XFFFF; // return 0XFFFF;
} //}
u16FaultCode = DTC2; u16FaultCode = DTC2;
......
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